/*==================================================
    FERTIDOC AI
    Global Stylesheet
==================================================*/


/*==================================================
    GOOGLE FONT
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/*==================================================
    VARIABLES
==================================================*/

:root{

    --primary:#e91e63;

    --primary-dark:#c2185b;

    --primary-light:#fde7ef;

    --secondary:#2ecc71;

    --blue:#3b82f6;

    --danger:#ef4444;

    --warning:#f59e0b;

    --success:#22c55e;

    --dark:#111827;

    --text:#374151;

    --text-light:#6b7280;

    --border:#e5e7eb;

    --background:#f5f7fb;

    --white:#ffffff;

    --radius:16px;

    --radius-small:10px;

    --shadow:

        0 10px 30px

        rgba(15,23,42,.08);

    --transition:.25s ease;

}


/*==================================================
    RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:'Inter',sans-serif;

    font-size:15px;

    line-height:1.7;

    min-height:100vh;

    -webkit-font-smoothing:antialiased;

}

img{

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

button{

    font-family:inherit;

}

input,

textarea,

select,

button{

    outline:none;

}


/*==================================================
    TYPOGRAPHY
==================================================*/

h1{

    font-size:22px;

    font-weight:500;

    color:var(--dark);

}

h2{

    font-size:20px;

    font-weight:500;

    color:var(--dark);

}

h3{

    font-size:18px;

    font-weight:500;

}

h4{

    font-size:14px;

    font-weight:500;

}

p{

    color:var(--text-light);

}


/*==================================================
    CONTAINERS
==================================================*/

.container{

    width:100%;

    max-width:1200px;

    margin:auto;

}

.card{

    background:var(--white);

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}


/*==================================================
    BUTTONS
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:14px 26px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    transition:var(--transition);

    font-size:15px;

    font-weight:600;

}

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 28px;

    min-height:52px;

    border:none;

    border-radius:12px;

    background:linear-gradient(135deg,#000000,#d81b60);

    color:#fff;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.btn-outline{

    background:#fff;

    color:var(--primary);

    border:2px solid var(--primary);

}

.btn-outline:hover{

    background:var(--primary-light);

}

.btn-danger{

    background:var(--danger);

    color:#fff;

}

.btn-danger:hover{

    opacity:.9;

}


/*==================================================
    FORMS
==================================================*/

.form-group{

    margin-bottom:18px;

}

.form-label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.form-control{

    width:100%;

    padding:14px 18px;

    border:1px solid var(--border);

    border-radius:12px;

    font-size:15px;

    transition:var(--transition);

    background:#fff;

}

.form-control:focus{

    border-color:var(--primary);

    box-shadow:

        0 0 0 4px

        rgba(233,30,99,.12);

}

textarea.form-control{

    resize:vertical;

}


/*==================================================
    UTILITIES
==================================================*/

.text-center{

    text-align:center;

}

.text-right{

    text-align:right;

}

.mt-1{margin-top:10px;}

.mt-2{margin-top:20px;}

.mt-3{margin-top:30px;}

.mt-4{margin-top:40px;}

.mb-1{margin-bottom:10px;}

.mb-2{margin-bottom:20px;}

.mb-3{margin-bottom:30px;}

.mb-4{margin-bottom:40px;}

.hidden{

    display:none;

}

/*==================================================
    AUTHENTICATION
==================================================*/

.auth-page{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    background:var(--background);

}

.auth-left{

    background: linear-gradient(135deg, #000000, #d81b60);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:80px;

}

.auth-content{

    max-width:520px;

}

.auth-logo{

    font-size:58px;

    margin-bottom:25px;

}

.auth-content h1{

    color:#fff;

    font-size:54px;

    line-height:1.1;

    margin-bottom:18px;

}

.auth-content h2{

    color:#fff;

    font-size:34px;

    margin-bottom:18px;

}

.auth-content p{

    color:rgba(255,255,255,.92);

    font-size:17px;

    margin-bottom:35px;

}

.auth-content ul{

    list-style:none;

    margin:35px 0;

}

.auth-content li{

    margin-bottom:16px;

    font-size:17px;

}

.auth-content li::before{

    content:"✓";

    margin-right:12px;

    font-weight:bold;

}

.auth-content a{

    color:#fff;

    font-weight:700;

}

.auth-right{

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px;

}

.auth-card{

    width:100%;

    max-width:540px;

    background:#fff;

    border-radius:24px;

    box-shadow:var(--shadow);

    padding:50px;

}

.auth-card h2{

    text-align:center;

    margin-bottom:10px;

}

.auth-subtitle{

    text-align:center;

    color:var(--text-light);

    margin-bottom:35px;

}

.auth-card .btn{

    width:100%;

    margin-top:10px;

}

.auth-footer{

    margin-top:25px;

    text-align:center;

    color:var(--text-light);

}

.auth-footer a{

    color:var(--primary);

    font-weight:700;

}

.auth-error{

    background:#fdecec;

    color:#b91c1c;

    padding:14px 18px;

    border-radius:12px;

    margin-bottom:20px;

}

.auth-success{

    background:#ecfdf3;

    color:#15803d;

    padding:14px 18px;

    border-radius:12px;

    margin-bottom:20px;

}

/*==================================================
    AUTH RESPONSIVE
==================================================*/

@media(max-width:1000px){

    .auth-page{

        grid-template-columns:1fr;

    }

    .auth-left{

        display:none;

    }

    .auth-right{

        padding:40px 20px;

    }

    .auth-card{

        padding:35px;

    }

}

/*==================================================
    ADMIN LAYOUT
==================================================*/

.admin-page{

    display:flex;

    min-height:100vh;

    background:var(--background);

}

.admin-sidebar{

    width:270px;

    background:#f0e4e4;

    border-right:1px solid var(--border);

    display:flex;

    flex-direction:column;

    padding:30px;

}

.admin-logo{

    font-size:26px;

    font-weight:700;

    color:linear-gradient(135deg,#000000,#d81b60);

    margin-bottom:35px;

}

.admin-menu{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.admin-menu a{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 18px;

    border-radius:12px;

    color:var(--text);

    font-weight:600;

    transition:var(--transition);

}

.admin-menu a:hover{

    background:var(--primary-light);

    color:var(--primary);

}

.admin-menu a.active{

    background:linear-gradient(135deg,#000000,#d81b60);

    color:#fff;

}

.admin-sidebar .logout{

    margin-top:auto;

}

.admin-main{

    flex:1;

    padding:35px;

}

.admin-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.admin-header h1{

    font-size:34px;

}

.admin-subtitle{

    color:var(--text-light);

    margin-top:5px;

}

/*==================================================
    DASHBOARD CARDS
==================================================*/

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:22px;

    margin-bottom:35px;

}

.stat-card{

    background:#fff;

    border-radius:18px;

    padding:25px;

    box-shadow:var(--shadow);

}

.stat-card h3{

    font-size:14px;

    color:var(--text-light);

    margin-bottom:12px;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.stat-card h2{

    font-size:38px;

    margin-bottom:6px;

}

.stat-card p{

    color:var(--text-light);

}

/*==================================================
    TABLES
==================================================*/

.table-card{

    background:#fff;

    border-radius:18px;

    box-shadow:var(--shadow);

    overflow:hidden;

}

.table-header{

    padding:22px 25px;

    border-bottom:1px solid var(--border);

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.table-responsive{

    overflow:auto;

}

table{

    width:100%;

    border-collapse:collapse;

}

th{

    background:#fafafa;

    text-align:left;

    padding:18px;

    font-size:14px;

    font-weight:600;

}

td{

    padding:18px;

    border-top:1px solid var(--border);

}

tbody tr{

    transition:.2s;

}

tbody tr:hover{

    background:#fcfcfc;

}

/*==================================================
    SEARCH
==================================================*/

.search-box{

    display:flex;

    gap:12px;

    margin-bottom:25px;

}

.search-box input{

    flex:1;

}

/*==================================================
    BADGES
==================================================*/

.badge{

    display:inline-block;

    padding:6px 12px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

}

.badge-success{

    background:#dcfce7;

    color:#15803d;

}

.badge-danger{

    background:#fee2e2;

    color:#b91c1c;

}

.badge-warning{

    background:#fef3c7;

    color:#92400e;

}

/*==================================================
    ACTION BUTTONS
==================================================*/

.action-buttons{

    display:flex;

    gap:8px;

}

.action-btn{

    width:38px;

    height:38px;

    border-radius:10px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,#000000,#d81b60);

    transition:.25s;

}

.action-btn:hover{

    background:linear-gradient(135deg,#000000,#d81b60);

    transform:translateY(-2px);

}

/*==================================================
    ADMIN RESPONSIVE
==================================================*/

@media(max-width:900px){

    .admin-page{

        flex-direction:column;

    }

    .admin-sidebar{

        width:100%;

        border-right:none;

        border-bottom:1px solid var(--border);

    }

    .admin-main{

        padding:20px;

    }

}

/*==================================================
    CHAT LAYOUT
==================================================*/

.chat-page{

    display:flex;

    min-height:100%;

    background:var(--background);

    overflow:hidden;

}


.chat-main{
    display:flex;
    flex-direction:column;
    height:100vh;
    overflow:hidden;
}




/*=========================================
    CHAT HEADER
=========================================*/

.chat-header{

    position:sticky;
    top:0;

    z-index:1000;

    height:72px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    background:linear-gradient(135deg,#000000,#d81b60);

    padding:0 24px;

    color:#fff;

    box-shadow:0 4px 20px rgba(0,0,0,.08);

}

.chat-header-left{

    flex:1;

}

.chat-header-left h2{

    margin:0;
    font-size:24px;
    color:#fff;

}

.chat-header-left span{

    color:#ffe8f0;

}

.chat-header-left p{

    margin-top:3px;
    font-size:13px;
    color:rgba(255,255,255,.9);

}

.chat-header-right{

    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:10px;

    flex-shrink:0;

}

.header-icon{

    width:42px;
    height:42px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:12px;

    background:rgba(255,255,255,.18);

    color:#fff;

    border:none;

    cursor:pointer;

    transition:.25s;

}

.header-icon svg{

    width:20px;
    height:20px;

}

.header-icon:hover{

    background:#fff;
    color:#ec1c67;

}

.header-icon.logout:hover{

    background:#dc2626;
    color:#fff;

}

/*==================================================
    CHAT MESSAGES
==================================================*/

.chat-messages{
    flex:1;
    overflow-y:auto;
    padding:25px;
}

.user,

.hope{

    display:flex;

    gap:14px;

    align-items:flex-end;

}

.user{

    justify-content:flex-end;

}

.hope{

    justify-content:flex-start;

}


/*==================================================
    BUBBLES
==================================================*/

.bubble{
    max-width:70%;
    padding:16px 20px;
    border-radius:18px;
    font-size:14px;
    line-height:1.7;
    word-break:break-word;
    box-shadow:0 3px 12px rgba(0,0,0,.05);
}

.message-text,
.message-text p,
.message-text li{
    font-size:14px;
    line-height:1.7;
}

.message-text h1{
    font-size:22px;
}

.message-text h2{
    font-size:20px;
}

.message-text h3{
    font-size:18px;
}

.user .bubble{

    background:var(--primary);

    color:#fff;

    border-bottom-right-radius:6px;

}

.hope .bubble{

    background:#fff;

    border:1px solid var(--border);

    border-bottom-left-radius:6px;

}

.user .bubble p,

.user .bubble li,

.user .bubble strong{

    color:#fff;

}

/*==================================================
    MARKDOWN
==================================================*/

.message-text h1,

.message-text h2,

.message-text h3{

    margin-top:15px;

    margin-bottom:10px;

}

.message-text p{

    margin-bottom:12px;

}

.message-text ul,

.message-text ol{

    padding-left:22px;

    margin-bottom:15px;

}

.message-text li{

    margin-bottom:8px;

}

.message-text table{

    width:100%;

    margin:18px 0;

}

.message-text code{

    background:#f4f4f4;

    padding:2px 6px;

    border-radius:6px;

}

.message-text pre{

    background:#1e293b;

    color:#fff;

    padding:18px;

    border-radius:12px;

    overflow:auto;

    margin:18px 0;

}

/*==================================================
    CHAT INPUT
==================================================*/

.chat-input{
    flex-shrink:0;

    display:flex;
    gap:15px;

    padding:18px;

    background:#fff;
    border-top:1px solid #e5e7eb;
}


.chat-input input{

    flex:1;

    border:1px solid var(--border);

    border-radius:16px;

    padding:16px 22px;

    font-size:16px;

}

.chat-input button{

    width:58px;

    border:none;

    border-radius:16px;

    background:linear-gradient(135deg,#000000,#d81b60);

    color:#fff;

    font-size:22px;

    cursor:pointer;

    transition:.25s;

}

.chat-input button:hover{

    background:var(--primary-dark);

    transform:scale(1.05);

}

/*==================================================
    TYPING
==================================================*/

.typing-bubble{

    display:flex;

    gap:6px;

    align-items:center;

}

.typing-bubble span{

    width:8px;

    height:8px;

    border-radius:50%;

    background:#888;

    animation:typing .8s infinite;

}

.typing-bubble span:nth-child(2){

    animation-delay:.2s;

}

.typing-bubble span:nth-child(3){

    animation-delay:.4s;

}

@keyframes typing{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-5px);

    }

}

/*==================================================
    CHAT RESPONSIVE
==================================================*/

@media(max-width:900px){

    .chat-page{

        grid-template-columns:1fr;

    }

    .bubble{

        max-width:92%;

    }

}

/*==================================================
    PENDING ACTIVATION
==================================================*/

.pending-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:linear-gradient(

        180deg,

        #fff,

        #f7f8fc

    );

}

.pending-card{

    width:100%;

    max-width:700px;

    background:#fff;

    border-radius:24px;

    padding:55px;

    text-align:center;

    box-shadow:var(--shadow);

}

.pending-icon{

    width:120px;

    height:120px;

    border-radius:50%;

    margin:auto;

    margin-bottom:30px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--primary-light);

    font-size:60px;

}

.pending-card h1{

    margin-bottom:18px;

}

.pending-card p{

    font-size:17px;

    margin-bottom:18px;

}

.pending-card .btn{

    margin-top:25px;

}

/*==================================================
    SETTINGS
==================================================*/

.settings-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:var(--shadow);

    margin-bottom:25px;

}

.settings-card h2{

    margin-bottom:25px;

}

.settings-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;

}

.settings-card textarea{

    min-height:220px;

}

.save-settings{

    margin-top:25px;

}

/*==================================================
    USER PROFILE
==================================================*/

.user-profile{

    display:grid;

    grid-template-columns:320px 1fr;

    gap:30px;

}

.profile-summary{

    background:#fff;

    border-radius:20px;

    padding:30px;

    text-align:center;

    box-shadow:var(--shadow);

}

.profile-summary .avatar{

    margin-bottom:20px;

}

.profile-summary h2{

    margin-bottom:8px;

}

.profile-details{

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:var(--shadow);

}

.detail-row{

    display:flex;

    justify-content:space-between;

    padding:16px 0;

    border-bottom:1px solid var(--border);

}

.detail-row:last-child{

    border:none;

}

/*==================================================
    ALERTS
==================================================*/

.alert{

    padding:16px 20px;

    border-radius:14px;

    margin-bottom:20px;

    font-weight:500;

}

.alert-success{

    background:#dcfce7;

    color:#166534;

}

.alert-error{

    background:#fee2e2;

    color:#991b1b;

}

.alert-warning{

    background:#fef3c7;

    color:#92400e;

}

.alert-info{

    background:#dbeafe;

    color:#1e40af;

}

/*==================================================
    SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:9px;

}

::-webkit-scrollbar-track{

    background:#f5f5f5;

}

::-webkit-scrollbar-thumb{

    background:#d5d5d5;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#bdbdbd;

}

/*==================================================
    ANIMATIONS
==================================================*/

.fade-in{

    animation:fadeIn .35s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.card:hover{

    transform:translateY(-3px);

    transition:.25s;

}

button{

    transition:.25s;

}

button:hover{

    transform:translateY(-2px);

}

input{

    transition:.25s;

}

/*==================================================
    MOBILE
==================================================*/

@media(max-width:768px){

    h1{

        font-size:32px;

    }

    h2{

        font-size:26px;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .settings-grid{

        grid-template-columns:1fr;

    }

    .user-profile{

        grid-template-columns:1fr;

    }

    .detail-row{

        flex-direction:column;

        gap:6px;

    }

    .pending-card{

        padding:35px;

    }

}

/*==================================================
    PREMIUM BACKGROUND
==================================================*/

body{

    background:

        radial-gradient(circle at top left,#ffeaf3 0%,transparent 25%),

        radial-gradient(circle at bottom right,#f7efff 0%,transparent 30%),

        #f7f8fc;

}

/*==================================================
    PREMIUM CARDS
==================================================*/

.card,
.auth-card,
.settings-card,
.stat-card,
.pending-card,
.profile-summary,
.profile-details,
.table-card{

    background:rgba(255,255,255,.94);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.55);

}

/*==================================================
    CHAT BACKGROUND
==================================================*/

.chat-main{

    background:

        radial-gradient(circle at top right,#fff2f8 0%,transparent 30%),

        radial-gradient(circle at bottom left,#eef7ff 0%,transparent 35%),

        #f7f8fc;

}

/*==================================================
    MESSAGE ANIMATION
==================================================*/

.user,
.hope{

    animation:messageAppear .25s ease;

}

@keyframes messageAppear{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

/*==================================================
    PREMIUM CHAT BUBBLES
==================================================*/

.user .bubble{

    background:linear-gradient(135deg,#000000,#d81b60);

}

.hope .bubble{

    background:#ffffff;

}

/*==================================================
    PREMIUM INPUT
==================================================*/

.chat-input input{

    background:white;

    box-shadow:

        0 6px 18px rgba(0,0,0,.04);

}

.chat-input input:focus{

    box-shadow:

        0 0 0 4px rgba(236,28,103,.12);

}

/*==================================================
    SIDEBAR
==================================================*/

.chat-sidebar{

    box-shadow:

        8px 0 35px rgba(0,0,0,.04);

}

/*==================================================
    CONVERSATIONS
==================================================*/

.conversation-link{

    position:relative;

    overflow:hidden;

}

.conversation-link::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    bottom:0;

    width:4px;

    background:var(--primary);

    opacity:0;

    transition:.25s;

}

.conversation-link:hover::before,

.conversation-link.active::before{

    opacity:1;

}

/*==================================================
    BUTTON EFFECT
==================================================*/

.btn-primary{

    box-shadow:

        0 12px 30px

        rgba(236,28,103,.25);

}

.btn-primary:hover{

    box-shadow:

        0 16px 40px

        rgba(236,28,103,.35);

}

.status{

    position:relative;

    padding-left:22px;

}

.status::before{

    content:"";

    width:9px;

    height:9px;

    border-radius:50%;

    background:#22c55e;

    position:absolute;

    left:10px;

    top:50%;

    transform:translateY(-50%);

    box-shadow:

        0 0 10px #22c55e;

}

.avatar,
.bot-avatar{

    background:

        linear-gradient(

            135deg,

            #ffe7f1,

            #ffd5e6

        );

}

.table-card,
.settings-card,
.profile-summary,
.profile-details,
.stat-card{

    transition:.3s;

}

.table-card:hover,
.settings-card:hover,
.profile-summary:hover,
.profile-details:hover,
.stat-card:hover{

    transform:translateY(-4px);

}

@keyframes pulse{

    0%{

        opacity:.5;

    }

    50%{

        opacity:1;

    }

    100%{

        opacity:.5;

    }

}

.loading{

    animation:pulse 1.2s infinite;

}

.empty-state{

    padding:60px;

    text-align:center;

}

.empty-state h3{

    margin-top:20px;

}

.empty-state p{

    margin-top:10px;

}

::selection{

    background:#ec1c67;

    color:white;

}

.btn-success{

    background:#16a34a;

    color:#fff;

}

.btn-success:hover{

    background:#15803d;

}

.btn-warning{

    background:#ea580c;

    color:#fff;

}

.btn-warning:hover{

    background:#c2410c;

}

.modal-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.modal-overlay.show{

    display:flex;

}

.modal-box{

    width:450px;

    max-width:90%;

    background:#fff;

    border-radius:20px;

    padding:35px;

    text-align:center;

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.modal-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:30px;

}

.admin-table .btn{

    width:auto;

    min-width:unset;

    padding:5px 8px;

    font-size:12px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

}

.admin-table td:last-child{

    white-space:nowrap;

}

.admin-table td:last-child>div{

    display:flex;

    gap:8px;

    flex-wrap:wrap;

}

.msg-time{

    margin-top:10px;

    font-size:9px;

    font-weight:400;

    color:#97a0ac;

    line-height:1;

}

.sidebar-actions{

    margin-top:25px;

    display:flex;

    flex-direction:column;

    gap:12px;

}

.sidebar-btn{

    width:100%;

    padding:12px 18px;

    border:none;

    border-radius:12px;

    background:#f3f4f6;

    cursor:pointer;

    text-align:left;

    font-size:15px;

    color:#374151;

    transition:.25s;

}

.sidebar-btn:hover{

    background:#e5e7eb;

}

/* ===================================
   PROFILE PAGE
=================================== */

.success-box{

    background:#dcfce7;

    color:#166534;

    border:1px solid #86efac;

    padding:14px 18px;

    border-radius:12px;

    margin-bottom:20px;

    font-size:15px;

}

.form-group{

    margin-bottom:18px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#374151;

}

.auth-right select,
.auth-right input:not([type="checkbox"]),
.auth-right textarea{

    width:100%;

    padding:14px 16px;

    border:1px solid #d1d5db;

    border-radius:12px;

    font-size:15px;

    transition:.25s;

    background:#fff;

}

.auth-right input:focus,
.auth-right select:focus,
.auth-right textarea:focus{

    border-color:#2563eb;

    outline:none;

    box-shadow:0 0 0 3px rgba(37,99,235,.15);

}

.auth-right textarea{

    resize:vertical;

    min-height:140px;

}

.auth-right .btn{

    margin-top:12px;

}

.remember-me{
    display:flex;
    align-items:center;
    gap:10px;
    margin:15px 0;
}

.remember-me input[type="checkbox"]{
    width:18px;
    height:18px;
    margin:0;
    padding:0;
    flex-shrink:0;
    cursor:pointer;
}

.remember-me label{
    margin:0;
    font-size:15px;
    font-weight:500;
    cursor:pointer;
    line-height:1;
}

.success-box{

    animation:fadeIn .35s ease;

}

.setting-image{

    width:120px;

    height:120px;

    object-fit:contain;

    background:#fff;

    border:1px solid #ddd;

    border-radius:12px;

    padding:10px;

    margin-bottom:10px;

}

.image-preview{

    margin-bottom:15px;

}

.setting-preview{
    margin:12px 0 16px;
    display:flex;
    align-items:center;
    gap:15px;
}

.setting-thumb{
    width:64px;
    height:64px;
    border-radius:12px;
    border:1px solid #ddd;
    background:#fff;
    object-fit:contain;
    padding:6px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.setting-thumb-og{
    width:180px;
    height:95px;
    object-fit:cover;
    border-radius:12px;
}

.setting-preview small{
    color:#666;
    font-size:13px;
    font-weight:500;
}

/*==========================================
    RESET PASSWORD
==========================================*/

.auth-container{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#f6f8fb;

    padding:30px;

}

.auth-card{

    width:100%;

    max-width:460px;

    background:#fff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 15px 45px rgba(0,0,0,.8);

    border:1px solid #e9ecef;

}

.auth-card h2{

    text-align:center;

    margin-bottom:30px;

    color:#000000;

    font-size:28px;

    font-weight:700;

}

.auth-card .form-control{

    width:100%;

    padding:14px 16px;

    border:1px solid #8b7c7c;

    border-radius:10px;

    font-size:15px;

    margin-bottom:18px;

    transition:.25s;

}

.auth-card .form-control:focus{

    outline:none;

    border-color:#2f855a;

    box-shadow:0 0 0 3px rgba(47,133,90,.12);

}

.auth-card .btn{

    width:100%;

    padding:14px;

    border-radius:10px;

    font-size:16px;

    font-weight:600;

}

.auth-card .alert{

    margin-bottom:20px;

}

@media(max-width:768px){

    .auth-container{

        padding:20px;

    }

    .auth-card{

        padding:25px;

    }

}

/*==================================================
    HOME PAGE
==================================================*/

.hero{

    min-height:90vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:80px 20px;

    background:linear-gradient(
        135deg,
        #fde7ef 0%,
        #ffffff 45%,
        #f5f7fb 100%
    );

}

.hero-content{

    max-width:760px;

    margin:auto;

}

.hero h1{

    font-size:56px;

    margin-bottom:20px;

    color:var(--primary);

}

.hero-text{

    font-size:20px;

    line-height:1.9;

    color:var(--text);

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary{

    width:220px;

}

.hero-buttons a{

    min-width:180px;

}

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 28px;

    min-height:52px;

    border-radius:12px;

    background:#fff;

    color:var(--primary);

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.btn-secondary:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-2px);

}

.btn-secondary:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-2px);

}

.features{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    max-width:1200px;

    margin:70px auto;

    padding:0 20px;

}

.feature-card{

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.25s;

}

.feature-card:hover{

    transform:translateY(-6px);

}

.feature-card h3{

    margin-bottom:15px;

    color:var(--primary);

}

.feature-card p{

    color:var(--text-light);

    line-height:1.8;

}

.chat-messages{
    display:flex !important;
    flex-direction:column !important;
    gap:24px !important;
}

.chat-messages > .user,
.chat-messages > .hope,
.chat-messages > .empty-state{
    margin:0 !important;
}