.exam-list-wrapper {
    background-color: #fdfaf5;
    color: #001f66;
    font-family: 'Poppins', sans-serif;
}

.exam-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #001f66;
}

.exam-subheading {
    font-size: 1.2rem;
    color: #444;
    margin-top: 0.5rem;
}

.exam-table-container {
    max-width: 900px;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}


.empty-cart-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px; /* o el alto que quieras */
    color: #999;
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
}

.exam-table thead {
    background-color: #001f66;
    color: white;
}

.exam-table th, .exam-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

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

.exam-title {
    font-weight: 600;
}

.exam-type {
    background-color: #ffcc80;
    color: #663c00;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.exam-price {
    font-weight: 700;
    color: #f66806;
}

/* Caja general */
.discount-wrapper {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

/* Código actual */
.current-discount-code {
    background-color: #e8e8e8;
    color: #333;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Formulario */
.coupon-form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.discount-input {
    padding: 7px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 230px;
}

.discount-btn {
    background-color: #004a99;
    color: white;
    padding: 7px 16px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.discount-btn:hover {
    background-color: #00356d;
}

/* Mensaje de error */
.discount-error {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}
.discount-wrapper {
    background-color: #fff8f2;
    border: 1px solid #ffd6c9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.coupon-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.discount-input {
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 300px;
}

.discount-btn {
    background-color: #f4511e;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.discount-btn:hover {
    background-color: #d84315;
}

.discount-error {
    color: #c0392b;
    background-color: #fdecea;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-top: 20px;
}
.exam-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-icon {
    color: #e74c3c;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
}

.exam-name {
    font-weight: 700;
    color: #001b54;
}

.exam-type {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}
.exam-title-wrapper {
    justify-content: center;
}
.exam-table th,
.exam-table td {
    text-align: center;
    vertical-align: middle;
}

.exam-cell {
    width: 33%;
    padding: 12px 8px;
}

.exam-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.exam-title-wrapper .remove-icon {
    color: #e74c3c;
    font-size: 20px;
    text-decoration: none;
}

.exam-title-wrapper .exam-name {
    font-weight: bold;
    color: #002147;
}

.exam-type {
    background-color: #f9c978;
    color: #222;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
}
.exam-cell {
    text-align: center;
    vertical-align: middle;
}
.exam-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.exam-name {
    font-weight: 600;
    color: #002b5c;
}

.discount-wrapper {
    background-color: #fff2e6;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border: 1px solid #ffdab5;
    width: 100%;
}


.current-code {
    font-weight: bold;
    color: #002b5c;
    text-align: center;
}

.current-discount-code {
    background-color: #77ade3;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
    margin-left: 10px;
    display: inline-block;
}

.coupon-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.discount-input {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 280px;
    max-width: 100%;
}

.discount-btn {
    padding: 10px 20px;
    background-color: #f14c1c;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.discount-btn:hover {
    background-color: #d84315;
}

.discount-error {
    margin-top: 15px;
    background-color: #f8d7da;
    padding: 10px 15px;
    border-left: 4px solid #dc3545;
    color: #842029;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
}

.applied-code {
    font-weight: bold;
    color: #002b5c;
    text-align: center;
}

.code-badge {
    display: inline-block;
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    margin-left: 0.5rem;
    position: relative;
}

.remove-code {
    margin-left: 10px;
    color: #dc3545;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

.remove-code:hover {
    color: #a71d2a;
}
.code-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f1f1;
    color: #333;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    transition: background-color 0.3s ease;
}

.code-badge:hover {
    background-color: #e0e0e0;
}

.remove-code {
    color: #999;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1;
    margin-left: 5px;
    display: inline-block;
    transition: color 0.3s ease;
}

.remove-code:hover {
    color: #e74c3c;
}

.exam-table-container {
    max-width: 960px;
    margin: 0 auto;
    overflow-x: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    table-layout: fixed;
}

.exam-table th,
.exam-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    word-break: break-word;
}

.exam-table thead {
    background-color: #002366;
    color: white;
}

.exam-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exam-name {
    font-weight: bold;
    color: #002366;
}

.exam-type {
    padding: 6px 12px;
    border-radius: 20px;
    background-color: #f5c16c;
    color: #333;
    display: inline-block;
}

.exam-price {
    font-weight: bold;
    color: #f47216;
}

.code-badge {
    background-color: #f5f5f5;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.remove-icon,
.remove-code {
    color: #cc0000;
    text-decoration: none;
    font-size: 18px;
}

.discount-wrapper {
    padding: 16px;
    background-color: #fff7f2;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

.coupon-form {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.discount-input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    min-width: 240px;
}

.discount-btn {
    padding: 8px 16px;
    background-color: #002366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.discount-btn:hover {
    background-color: #001b4e;
}

.discount-error {
    margin-top: 10px;
    color: red;
}
.exam-table th.ex-col-name   { width: 35%; }
.exam-table th.ex-col-type   { width: 15%; }
.exam-table th.ex-col-price  { width: 20%; }
.exam-table th.ex-col-discount,
.exam-table th.ex-col-total  { width: 15%; }

/* Estilos para el contenedor de verificación de email */
.email-verification-container {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.email-instruction {
    color: #1e3a8a;
    font-weight: 600;
    margin-bottom: 15px;
}

.email-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.email-form input[type="email"] {
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    min-width: 250px;
    transition: border-color 0.3s;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-continue {
    background-color: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-continue:hover {
    background-color: #1e40af;
}

/* Estilos para el mensaje de bienvenida */
.welcome-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.welcome-message h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
}

.welcome-message p {
    margin: 10px 0;
    font-size: 16px;
    opacity: 0.9;
}

.btn-confirm-purchase {
    background-color: #ffffff;
    color: #1e3a8a;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-confirm-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos para el formulario de registro */
.register-form {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.register-form h4 {
    color: #1e3a8a;
    margin-bottom: 20px;
    text-align: center;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.register-form input:focus {
    outline: none;
    border-color: #1e3a8a;
}

.register-form .privacy-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.register-form .privacy-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.btn-register {
    background-color: #1e3a8a;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #1e40af;
}

/* Responsive */
@media (max-width: 768px) {
    .email-form {
        flex-direction: column;
    }
    
    .email-form input[type="email"] {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .welcome-message {
        padding: 20px;
    }
    
    .welcome-message h3 {
        font-size: 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .exam-heading {
        font-size: 2rem;
    }

    .exam-subheading {
        font-size: 1rem;
    }

    .exam-table th, .exam-table td {
    text-align: center;
    vertical-align: middle;
}

}
