.profile-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.profile-container h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile-orders-link,
.profile-container a[href="/auth/logout"] {
    display: inline-block;
    margin-top: 15px;
    color: #111;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.profile-orders-link:hover,
.profile-container a[href="/auth/logout"]:hover {
    color: #555;
}

.profile-orders {
    max-width: 900px;
    margin: 50px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.profile-orders h2 {
    font-size: 26px;
    margin: 0 0 20px;
    text-align: center;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

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

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

.orders-table tr:hover {
    background: #fafafa;
}

.orders-table a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.orders-table a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .profile-container {
        margin: 30px 15px;
        padding: 20px;
    }

    .profile-container h2 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .profile-orders {
        margin: 30px 15px;
        padding: 20px;
    }

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

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

@media (max-width: 520px) {
    .profile-container {
        margin: 20px 8px;
        padding: 16px;
        border-radius: 10px;
    }

    .orders-table {
        border: 0;
    }

    .orders-table thead {
        display: none;
    }

    .orders-table tr {
        display: block;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 10px;
    }

    .orders-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: 0;
    }

    .orders-table td::before {
        content: attr(data-label);
        color: #6b7280;
        font-weight: 600;
        padding-right: 12px;
    }
}
