/* account.css - Auth modal, user profile, chatbot styles */

/* Auth Modal */
.auth-modal{
    display:none;
    position:fixed;
    top:0;left:0;right:0;bottom:0;
    background:rgba(0,0,0,.9);
    z-index:10001;
    align-items:center;
    justify-content:center;
    backdrop-filter:blur(10px);
}

.auth-modal.active{display:flex !important;}

.auth-box{
    background:var(--bg);
    padding:50px;
    border-radius:24px;
    border:1px solid var(--l);
    max-width:450px;
    width:90%;
    text-align:center;
    box-shadow:0 30px 60px rgba(0,0,0,.5);
}

.auth-box h3{
    margin-bottom:30px;
    color:var(--accent-modern);
    font-size:32px;
    font-family:var(--handwriting);
    letter-spacing:2px;
    font-weight:700;
}

.auth-box input{
    width:100%;
    padding:18px;
    border-radius:12px;
    border:1px solid var(--l);
    background:rgba(0,0,0,.3);
    color:#fff;
    margin-bottom:20px;
    font-size:16px;
    transition:all .3s;
}

.auth-box input:focus{
    border-color:var(--accent-modern);
    outline:none;
    box-shadow:0 0 20px rgba(255,71,87,.1);
}

.auth-box button{
    width:100%;
    padding:18px;
    background:var(--accent-modern);
    color:#fff;
    border:none;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
    font-size:16px;
    text-transform:uppercase;
    letter-spacing:2px;
    transition:all .3s;
}

.auth-box button:hover{
    background:var(--a-light);
    transform:translateY(-2px);
}

.auth-box .switch-auth{
    color:var(--m);
    font-size:14px;
    cursor:pointer;
    margin-top:25px;
    display:inline-block;
    transition:all .3s;
}

.auth-box .switch-auth:hover{color:var(--accent-modern);}

/* Account Section */
.account-section{
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;
    display:none;
}

.account-section.active{display:block !important;}

.account-card{
    background:var(--bg);
    border-radius:24px;
    padding:40px;
    border:1px solid var(--l);
    margin-bottom:30px;
}

.account-header{
    display:flex;
    align-items:center;
    gap:30px;
    margin-bottom:40px;
    padding-bottom:30px;
    border-bottom:2px solid var(--l);
    flex-wrap:wrap;
}

.account-avatar{
    width:100px;
    height:100px;
    border-radius:50%;
    background:var(--accent-modern);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:48px;
    font-weight:900;
    box-shadow:0 10px 30px rgba(255,71,87,.3);
}

.account-info h2{margin-bottom:8px;font-size:32px;}
.account-info p{color:var(--m);font-size:16px;}

.order-history{margin-top:30px;}

/* Account order cards (duplicate definition - keeping the account-specific version) */
.account-section .order-card{
    background:rgba(255,255,255,.03);
    padding:25px;
    border-radius:16px;
    margin-bottom:20px;
    border:1px solid var(--l);
    transition:all .3s;
}

.account-section .order-card:hover{
    border-color:rgba(255,255,255,.2);
    transform:translateX(10px);
}

.account-section .order-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
    flex-wrap:wrap;
    gap:15px;
}

.order-status{
    background:var(--success);
    color:#fff;
    padding:6px 16px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
}

.order-status.pending{background:var(--warning);color:#000;}

.recommendations{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin-top:30px;
}

.rec-card{
    background:rgba(255,255,255,.03);
    padding:25px;
    border-radius:16px;
    border:1px solid var(--l);
    cursor:pointer;
    transition:all .3s;
    position:relative;
    overflow:hidden;
}

.rec-card::before{
    content:'';
    position:absolute;
    top:0;left:0;right:0;height:3px;
    background:var(--accent-modern);
    transform:scaleX(0);
    transition:transform .3s;
}

.rec-card:hover::before{transform:scaleX(1);}
.rec-card:hover{
    border-color:var(--accent-modern);
    transform:translateY(-5px);
}

.rec-card h4{color:var(--accent-modern);margin-bottom:10px;font-size:18px;}
.rec-card p{font-size:14px;color:var(--m);margin-bottom:15px;}
.rec-card .price{font-size:20px;font-weight:900;color:var(--t);}

/* Chatbot */
.chatbot-container{
    display:none;
    position:fixed;
    bottom:100px;
    right:30px;
    width:350px;
    max-width:90vw;
    background:var(--bg);
    border-radius:24px;
    border:1px solid var(--l);
    box-shadow:0 20px 60px rgba(0,0,0,.5);
    z-index:998;
    overflow:hidden;
}

.chatbot-container.active{display:block !important;}

.chatbot-header{
    background:var(--accent-modern);
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.chatbot-messages{
    height:300px;
    overflow-y:auto;
    padding:20px;
    background:rgba(0,0,0,.2);
}

.chatbot-input{
    display:flex;
    padding:15px;
    background:rgba(255,255,255,.05);
}

.chatbot-input input{
    flex:1;
    background:rgba(0,0,0,.3);
    border:1px solid var(--l);
    color:#fff;
    padding:12px 15px;
    border-radius:25px;
    margin-right:10px;
}

.chatbot-input button{
    background:var(--accent-modern);
    color:#fff;
    border:none;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
}

.message{
    margin-bottom:15px;
    padding:12px 16px;
    border-radius:16px;
    max-width:80%;
    font-size:14px;
}

.message.bot{
    background:rgba(255,255,255,.1);
    margin-right:auto;
    border-bottom-left-radius:4px;
}

.message.user{
    background:var(--accent-modern);
    margin-left:auto;
    border-bottom-right-radius:4px;
}
