/* account_style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background-color: #f7fafc;
    color: #2d3748;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* গেস্ট ভিউ (লগইন ছাড়া কার্ড) */
.guest-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.guest-icon {
    font-size: 80px;
    color: #ff4757;
    margin-bottom: 20px;
}

.guest-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1a202c;
}

.guest-card p {
    color: #718096;
    margin-bottom: 30px;
    font-size: 16px;
}

.btn-trigger {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    transition: all 0.3s ease;
}

.btn-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.6);
}

/* মডার্ন পপআপ (Modal) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 420px;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    color: #a0aec0;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #4a5568;
}

.modal h3 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 25px;
    color: #2d3748;
}

/* ফর্ম ডিজাইন */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #ff4757;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #e0404f;
}

.toggle-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #718096;
}

.toggle-link span {
    color: #ff4757;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

/* ইউজার ড্যাশবোর্ড লেআউট */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* সাইডবার */
.user-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.avatar-wrapper {
    width: 80px;
    height: 80px;
    background: #fff5f5;
    color: #ff4757;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 2px solid #fed7d7;
}

.sidebar-phone {
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 25px;
}

.btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid #fed7d7;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #e53e3e;
    color: #fff;
}

/* মেইন কন্টেন্ট (অর্ডার হিস্টোরি) */
.orders-panel {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
}

.panel-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* টেবিল ডিজাইন */
.table-responsive {
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.order-table th {
    background-color: #f7fafc;
    color: #718096;
    font-weight: 600;
    font-size: 14px;
    padding: 15px;
    border-bottom: 2px solid #edf2f7;
}

.order-table td {
    padding: 15px;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
    color: #4a5568;
}

/* অর্ডার স্ট্যাটাস ব্যাজ */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending { background-color: #feebc8; color: #c05621; }
.status-completed { background-color: #c6f6d5; color: #22543d; }
.status-cancelled { background-color: #fed7d7; color: #9b2c2c; }

/* অ্যালার্ট */
.alert {
    background-color: #fed7d7;
    color: #9b2c2c;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #fecaca;
}