/* My Account Page Styles */
.my-account-page {
    background: var(--tm-light-grey);
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.account-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.account-welcome h1 {
    font-size: 32px;
    font-weight: 800;
    color: #1f262d;
    margin: 0 0 8px 0;
}

.account-welcome p {
    color: #4b5563;
    margin: 0;
    font-size: 16px;
}

.logout-btn {
    padding: 12px 24px;
    background: #026cdf;
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #004ea3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 108, 223, 0.3);
    text-decoration: none;
}

.account-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.account-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1f262d;
    margin: 0;
}

.edit-link {
    color: #026cdf;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.edit-link:hover {
    text-decoration: underline;
}

.card-content {
    padding: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #4b5563;
}

.info-value {
    color: #1f262d;
}

.stats-card .card-content {
    display: flex;
    gap: 24px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #f3f4f6;
    border-radius: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #026cdf;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #4b5563;
    font-weight: 600;
}

.orders-table {
    overflow-x: auto;
}

.orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    background: #f3f4f6;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #1f262d;
    font-size: 14px;
    border-bottom: 2px solid #e5e7eb;
}

.orders-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.order-number {
    font-weight: 600;
    color: #026cdf;
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.status-pending {
    background: #f8d7da;
    color: #721c24;
}

.order-total {
    font-weight: 700;
    color: #1f262d;
}

.view-order-btn {
    padding: 6px 16px;
    background: #026cdf;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.view-order-btn:hover {
    background: #004ea3;
    text-decoration: none;
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
}

.no-orders p {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 16px;
}

.browse-events-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #026cdf;
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.browse-events-btn:hover {
    background: #004ea3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 108, 223, 0.3);
    text-decoration: none;
}

.login-register-section {
    padding: 40px 0;
}

.login-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.login-card,
.register-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.login-card h2,
.register-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1f262d;
    margin: 0 0 12px 0;
}

.login-card p,
.register-card p {
    color: #4b5563;
    margin-bottom: 24px;
}

.login-card form {
    margin-top: 24px;
}

.login-card label {
    display: block;
    font-weight: 600;
    color: #1f262d;
    margin-bottom: 8px;
}

.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
    outline: none;
    border-color: #026cdf;
}

.login-card input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #026cdf;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login-card input[type="submit"]:hover {
    background: #004ea3;
}

.lost-password {
    text-align: center;
    margin-top: 16px;
}

.lost-password a {
    color: #026cdf;
    font-size: 14px;
    text-decoration: none;
}

.lost-password a:hover {
    text-decoration: underline;
}

.register-benefits ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.register-benefits li {
    padding: 12px 0;
    color: #4b5563;
    font-size: 15px;
}

.register-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #026cdf;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.register-btn:hover {
    background: #004ea3;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr;
    }

    .login-register-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .account-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .account-welcome h1 {
        font-size: 24px;
    }

    .orders-table {
        font-size: 12px;
    }

    .orders-table th,
    .orders-table td {
        padding: 8px 6px;
    }
}