.verify-btn {
    background: linear-gradient(to right, #FF8E53, #FE6B8B);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.verify-btn:active {
    transform: translateY(0);
}

:root[data-theme="dark"] .verify-btn {
    background: linear-gradient(to right, #FE6B8B, #FF8E53);
}

/* Premium feature styles */
.premium-feature {
    position: relative;
}

.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    text-align: center;
    border-radius: inherit;
}

.premium-overlay i {
    font-size: 36px;
    margin-bottom: 15px;
    color: gold;
}

.premium-overlay p {
    font-size: 18px;
    margin-bottom: 15px;
}

.premium-overlay a {
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.premium-overlay a:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Key popup modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

/* Add responsive premium plans styling */
@media (max-width: 768px) {
    .plans-modal-content {
        width: 95%;
        margin: 15px 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .plans-body {
        flex-direction: column;
        padding: 20px 15px;
        gap: 15px;
    }

    .plan-card {
        width: 100%;
        min-width: unset;
        padding: 20px;
    }

    .plans-header {
        padding: 20px 15px;
    }

    .plans-header h2 {
        font-size: 22px;
    }

    .plans-header p {
        font-size: 14px;
    }

    .plan-name {
        font-size: 20px;
    }

    .plan-price {
        font-size: 32px;
    }

    .plan-feature {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .plans-modal-content {
        width: 100%;
        border-radius: 0;
        margin: 0;
        height: 100%;
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .plans-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px 12px;
        gap: 12px;
    }

    .plan-card {
        padding: 15px;
    }

    .plans-header {
        padding: 15px 12px;
    }

    .plans-footer {
        font-size: 12px;
        padding: 15px;
    }

    .plans-header h2 {
        font-size: 20px;
    }
}

.modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 460px;
    /* Slightly increased to accommodate longer key format */
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.4s;
    transform: translateY(0);
    transition: all 0.3s ease;
    will-change: transform, opacity;
    /* Performance optimization */
    backface-visibility: hidden;
    /* Smoother animations */
}

.modal-header {
    background: linear-gradient(135deg, #FF8E53, #FE6B8B);
    padding: 30px 25px;
    /* Slightly increased padding */
    color: white;
    text-align: center;
    position: relative;
}

.modal-header .logo-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.modal-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
    font-size: 15px;
}

/* Redesigned modern & minimalist close button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
    overflow: hidden;
    z-index: 2;
    /* Make sure it's above other elements */
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.modal-close::before {
    transform: rotate(45deg);
}

.modal-close::after {
    transform: rotate(-45deg);
}

.modal-close:hover {
    transform: scale(1.15);
}

.modal-close:hover::before,
.modal-close:hover::after {
    background-color: rgba(255, 255, 255, 0.9);
    width: 20px;
}

.modal-close:active {
    transform: scale(0.9);
}

.modal-body {
    padding: 35px;
}

.key-input-wrap {
    position: relative;
    margin-bottom: 30px;
}

/* Fixed alignment for the key icon */
.key-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    transition: all 0.3s;
    pointer-events: none;
    /* Make sure it doesn't interfere with input */
    z-index: 2;
    /* Ensure it's above the input field */
    height: 18px;
    /* Fixed height */
    width: 18px;
    /* Fixed width */
    display: flex;
    align-items: center;
    justify-content: center;
}

.key-input {
    width: 100%;
    padding: 18px 16px 18px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 14px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s;
    background: #f8f9fa;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    color: #333;
    /* Ensure text is clearly visible */
    height: 58px;
    /* Fixed height for consistency */
}

.key-input::placeholder {
    letter-spacing: 1px;
    color: #bbb;
    opacity: 0.7;
    /* More subtle placeholder */
}

/* Hide the format hint since we're already using a placeholder */
.key-format-hint {
    display: none;
}

.key-input:focus {
    border-color: #FF8E53;
    box-shadow: 0 0 0 4px rgba(254, 107, 139, 0.1);
    outline: none;
}

.key-input:focus+i {
    color: #FF8E53;
}

.key-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px 12px;
    display: none;
    animation: shake 0.5s;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(to right, #FF8E53, #FE6B8B);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 15px rgba(254, 107, 139, 0.15);
    position: relative;
    /* For ripple effect */
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(254, 107, 139, 0.25);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(254, 107, 139, 0.2);
}

/* Add ripple effect */
.submit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.submit-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }

    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.contact-support {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-link {
    color: #FE6B8B;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.3s;
    background: linear-gradient(to right, #FF8E53, #FE6B8B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback for non-webkit browsers */
    padding: 3px 8px;
    border-radius: 4px;
}

.contact-link:hover {
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #FE6B8B, #FF8E53);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* Fallback for non-webkit browsers */
}

.error-message {
    background-color: #fff3f3;
    border-left: 4px solid #f44336;
    padding: 12px 15px;
    color: #d32f2f;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode styles for modal */
:root[data-theme="dark"] .modal-content {
    background-color: #2d3436;
    color: #f1f2f6;
}

:root[data-theme="dark"] .key-input {
    background-color: #353b48;
    border-color: #3d3d3d;
    color: #f1f2f6;
}

:root[data-theme="dark"] .key-input:focus {
    border-color: #FF8E53;
    background-color: #2f3640;
}

:root[data-theme="dark"] .key-input-wrap i {
    color: #8395a7;
}

:root[data-theme="dark"] .key-input:focus+i {
    color: #FF8E53;
}

:root[data-theme="dark"] .error-message {
    background-color: rgba(231, 76, 60, 0.2);
    color: #ff7675;
}

:root[data-theme="dark"] .contact-support {
    color: #b2bec3;
}

/* Add these new styles for the logo image */
.site-logo {
    max-height: 40px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo {
        max-height: 30px;
    }
}

/* Improve logo alignment */
.logo-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Key deleted notification */
.key-deleted-notification {
    background: #dc3545;
    color: white;
    text-align: center;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    animation: fadeIn 0.5s;
}

/* PayPal Generator Specific Styles */
.paypal-bg {
    background: linear-gradient(135deg, #ffc439, #f5b324);
}

.paypal-btn:hover {
    background: #ffc439;
    color: #253b80;
    border-color: #ffc439;
}

/* Modern Template Styles */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.page-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.last-updated {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 30px;
    font-style: italic;
}

.page-container section {
    margin-bottom: 35px;
}

.page-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid #007bff;
}

.page-container h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-container p {
    margin-bottom: 12px;
    color: #495057;
    text-align: justify;
    line-height: 1.6;
}

.page-container strong {
    color: #2c3e50;
    font-weight: 600;
}

.page-container ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.page-container ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #495057;
}

.page-container ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box p {
    margin-bottom: 8px;
}

/* Dark mode support for templates */
:root[data-theme="dark"] .page-container {
    background: #2d3436;
    color: #dfe6e9;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

:root[data-theme="dark"] .page-container h1 {
    color: #dfe6e9;
    border-bottom-color: #0984e3;
}

:root[data-theme="dark"] .last-updated {
    color: #b2bec3;
}

:root[data-theme="dark"] .page-container h2 {
    color: #dfe6e9;
    border-left-color: #0984e3;
}

:root[data-theme="dark"] .page-container h3 {
    color: #b2bec3;
}

:root[data-theme="dark"] .page-container p,
:root[data-theme="dark"] .page-container ul li {
    color: #b2bec3;
}

:root[data-theme="dark"] .page-container strong {
    color: #dfe6e9;
}

:root[data-theme="dark"] .page-container ul li::before {
    color: #0984e3;
}

:root[data-theme="dark"] .info-box {
    background: #353b48;
    border-left-color: #00b894;
}

@media (max-width: 768px) {
    .page-container {
        padding: 25px 20px;
    }

    .page-container h1 {
        font-size: 2rem;
    }

    .page-container h2 {
        font-size: 1.3rem;
    }
}

/* Contact Page Specific Styles */
.contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-method {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid #007bff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-method h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method h3 i {
    color: #007bff;
}

.hours-table {
    width: 100%;
    max-width: 500px;
    border-collapse: collapse;
    margin: 15px 0;
}

.hours-table td {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    width: 40%;
}

/* Dark mode for contact page */
:root[data-theme="dark"] .contact-method {
    background: #353b48;
    border-top-color: #0984e3;
}

:root[data-theme="dark"] .contact-method h3 {
    color: #dfe6e9;
}

:root[data-theme="dark"] .contact-method h3 i {
    color: #0984e3;
}

:root[data-theme="dark"] .hours-table td {
    border-bottom-color: #636e72;
    color: #b2bec3;
}

:root[data-theme="dark"] .hours-table td:first-child {
    color: #dfe6e9;
}

/* Generic Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.data-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

:root[data-theme="dark"] .data-table th,
:root[data-theme="dark"] .data-table td {
    border-color: #636e72;
    color: #b2bec3;
}

:root[data-theme="dark"] .data-table th {
    background-color: #353b48;
    color: #dfe6e9;
}

:root[data-theme="dark"] .data-table tr:nth-child(even) {
    background-color: #353b48;
}

/* Testimonial Styles */
.testimonial {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    font-style: italic;
    border-radius: 4px;
}

.testimonial blockquote {
    margin: 0;
    color: #495057;
}

.testimonial cite {
    display: block;
    text-align: right;
    font-style: normal;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

:root[data-theme="dark"] .testimonial {
    background-color: #353b48;
    border-left-color: #0984e3;
}

:root[data-theme="dark"] .testimonial blockquote {
    color: #b2bec3;
}

:root[data-theme="dark"] .testimonial cite {
    color: #dfe6e9;
}

/* Cancel Order Form Styles */
.cancellation-form {
    max-width: 650px;
    margin: 40px auto;
    padding: 35px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.form-row {
    margin-bottom: 24px;
}

.form-row label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.95em;
    color: #555;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f8f8f8;
    transition: all 0.25s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background-color: #fff;
}

.form-row button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
}

.form-row button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.success-message {
    margin-top: 25px;
    padding: 20px;
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
    border-radius: 10px;
    display: none;
}

.success-message h3 {
    margin-top: 0;
    color: #28a745;
}

:root[data-theme="dark"] .cancellation-form {
    background-color: #2d3436;
    border-color: #444;
}

:root[data-theme="dark"] .form-row label {
    color: #dfe6e9;
}

:root[data-theme="dark"] .form-row input,
:root[data-theme="dark"] .form-row select,
:root[data-theme="dark"] .form-row textarea {
    background-color: #353b48;
    border-color: #636e72;
    color: #dfe6e9;
}

:root[data-theme="dark"] .form-row input:focus,
:root[data-theme="dark"] .form-row select:focus,
:root[data-theme="dark"] .form-row textarea:focus {
    border-color: #0984e3;
    background-color: #2d3436;
}

:root[data-theme="dark"] .form-row button {
    background-color: #0984e3;
}

:root[data-theme="dark"] .form-row button:hover {
    background-color: #00cec9;
}

/* Tracking Page Styles */
.tracking-box {
    max-width: 700px;
    margin: 30px auto;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.tracking-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tracking-input-group input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.tracking-input-group button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.tracking-input-group button:hover {
    background-color: #45a049;
}

.tracking-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.tracking-step {
    flex: 1;
    min-width: 200px;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
}

.tracking-step h3 {
    margin-top: 0;
    font-size: 1.1em;
}

:root[data-theme="dark"] .tracking-box {
    background-color: #2d3436;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .tracking-input-group input {
    background-color: #353b48;
    border-color: #636e72;
    color: #dfe6e9;
}

:root[data-theme="dark"] .tracking-step {
    background-color: #353b48;
}

/* Why Choose Us Styles */
.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.reason-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.reason-item h3 {
    margin-top: 0;
    color: #007bff;
}

:root[data-theme="dark"] .reason-item {
    background-color: #353b48;
    border-left-color: #0984e3;
}

:root[data-theme="dark"] .reason-item h3 {
    color: #0984e3;
}