/* MyAccount Sidebar Navigation */
.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    max-width: 25%;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    color: #374151;
    text-decoration: none !important;
    background: #f9fafb;
    transition: background 0.3s, color 0.3s !important;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #e0e7ff;
    color: #4f46e5;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a.active {
    background: #6366f1;
    color: #ffffff;
}

/* Optional: Add slight shadow on hover */
.woocommerce-MyAccount-navigation ul li a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.woocommerce-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 380px;
    background: #f8f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.woocommerce-download:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.pwpc-download-product {
    flex: 1;
}

.pwpc-product-title {
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
    text-decoration: none;
    line-height: 28px;
    outline: none;
}

.pwpc-product-title:focus {
    outline: none;
}

.pwpc-download-product p {
    margin: 10px 0 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 14px;
}

.pwpc-download-action {
    flex: 0 0 250px;
    margin-bottom: 15px;
}

.pwpc-download-select:hover {
    border-color: #6366f1;
}

.pwpc-woocommerce-download .download-file .pwpc-download-button {
    display: inline-flex;
    background-color: #6366f1;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 25px!important;
    margin-top: 10px;
    align-items: center;
    column-gap: 6px;
    line-height: 18px;
    outline: none;
    transition: background-color 0.3s;
}

.pwpc-woocommerce-download .download-file .pwpc-download-button.button{
    background-color: #6366f1;
    color: #fff;
}

.pwpc-woocommerce-download .download-file button.pwpc-download-button {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pwpc-woocommerce-download .download-file .pwpc-download-button:hover {
    background-color: #6366f1;
}

.pwpc-woocommerce-download .download-file .pwpc-download-button:focus {
    outline: none;
}

.pwpc-woocommerce-download .download-file button.pwpc-download-button.certificate {
    background-color: #10b981;
    margin-bottom: 10px;
}

.pwpc-woocommerce-download .download-file .pwpc-download-button.certificate:hover {
    background-color: #059669;
    /* Darker green on hover */
}


.pwpc-product-image img {
    width: 80px;
    height: 70px;
}

.pwpc-product-image {
    display: flex;
    gap: 13px;
    margin-bottom: 15px;
}

.woocommerce-page table.shop_table td,
.woocommerce-page table.shop_table th {
    padding: 12px !important;
}


/* Hide native arrow */
.pwpc-styled-select,
.pwpc-download-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 15px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    font-size: 14px;
    width: 100%;
    outline: none;
    cursor: pointer;
    color: #32373c;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pwpc-styled-select-wrapper {
    position: relative;
    width: 250px;
}

.paddlepay-table {
    width: 100%;
    border-collapse: collapse;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}

.paddlepay-table thead {
    background-color: #f8f9fa;
}

.paddlepay-table th,
.paddlepay-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
table thead:first-child tr:first-child th {
	border-block-start: 1px solid #e5e7eb!important;
}

td.pwpc-actions {
    width: 255px;
    vertical-align: middle;
}

.paddlepay-table th {
    font-weight: 600;
    color: #333;
}

.paddlepay-table td code {
    background-color: #f1f1f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.pwpc-product-name {
    font-weight: 500;
    font-size: 16px;
    color: #191822;
    line-height: 1.1;
    margin-bottom: 4px;
}

.pwpc-plan-name,
.pwpc-status-date {
    font-weight: 500;
    font-size: 14px;
    color: #7d7d7e;
    margin-top: 13px;
}


.pwpc-status {
    display: inline-flex;
    padding: 3px 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-style: normal;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
}
.pwpc-status.trialing{
    color: #07bfe4;
    background: rgba(7, 191, 228, 0.1);
}

.pwpc-status.active {
    color: #09af67;
    background: rgba(9, 175, 103, 0.1);
}

.pwpc-status.canceled {
    background: rgba(255, 59, 59, 0.1);
    color: #ff3b3b;
}

.pwpc-status.paused {
    background: rgba(255, 136, 0, 0.1);
    color: #f80;
}

.pwpc-status-date {
    display: inline-block;
    margin-top: 7px;
    font-size: 13px;
}

.pwpc-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-left: 6px;
    color: #555;
}

.paddlepay-table .pwpc-actions a {
    text-decoration: none;
}

.paddlepay-table .pwpc-actions a:hover {
    color: #fff;
}

.pwpc-btn {
    display: inline-flex;
    padding: 7px 16px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    transition: all .4s ease;
}

.pwpc-btn-manage {
    border-radius: 6px;
    border: 1px solid #5f4afe;
    color: #5f4afe;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: all .4s ease;
    margin-right: 7px;
}

.pwpc-btn-manage:hover {
    background-color: #5f4afe;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pwpc-btn-cancel {
    background: #ff3b3b;
    color: #fff;
    transform: translateY(2px);
}
.pwpc-btn-cancel svg{
    border: 1px solid #fff;
    border-radius: 50px;
    transition: all .4s ease;
}
.pwpc-btn-cancel svg path{
    transform: translateY(-1px) translateX(-1px);
}
.pwpc-btn-cancel:hover svg{
    border-color: transparent;
}
.pwpc-btn-cancel:hover {
    background-color: #b02a37;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.woocommerce-page .woocommerce-order-details table.shop_table {
    width: 100%;
}

.woocommerce .woocommerce-order-details table.shop_table tfoot td,
.woocommerce .woocommerce-order-details table.shop_table tfoot th {
    font-weight: 700;
    border-top: 1px solid rgba(0, 0, 0, .1);
    font-size: 16px;
}

.paddlepay-pagination {
    margin-top: 20px;
    text-align: center;
}

.paddlepay-pagination .page-numbers {
    display: inline-block;
    margin: 0;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid #dfdfe0;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #716f7e;
    box-shadow: 0 1px 1px 0 rgba(25, 24, 34, 0.04);
    width: 34px;
    height: 34px;
    transition: all .4s ease;
}
.paddlepay-pagination .page-numbers:hover{
    background: #5f4afe;
    color: #fff;
    border-color: #5f4afe;
}
.paddlepay-pagination .prev.page-numbers {
    width: auto;
    height: auto;
}
.paddlepay-pagination .next.page-numbers {
    width: auto;
    height: auto;
}

.paddlepay-pagination .current {
    background: #5f4afe;
    color: #fff;
    border-color: #5f4afe;
}

.paddlepay-pagination .page-numbers:focus {
    outline-width: 1px;
    outline-style: solid;
    color: #5f4afe;
    outline-color: #5f4afe;
}

.payment_method_pwpc_woo_paddle label img {
    width: 40px;
    height: auto;
}
.product-title {
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: #191822;
    line-height: 1.2;
}
.pwpc-download-limit{
    margin-bottom: 5px!important;
}