/* ==========================================
   GOALS PAGE
========================================== */

*{

margin:0;

padding:0;

box-sizing:border-box;

font-family:Poppins,sans-serif;

}

body{

background:#0b1120;

color:#ffffff;

min-height:100vh;

}

.goals-container{

width:95%;

max-width:1400px;

margin:auto;

padding:30px;

}

/* ==========================================
   HEADER
========================================== */

.goals-header{

text-align:center;

margin-bottom:35px;

}

.goals-header h1{

font-size:40px;

font-weight:700;

color:#00d4ff;

margin-bottom:10px;

}

.goals-header p{

font-size:17px;

color:#b6c2d1;

}

/* ==========================================
   STATUS
========================================== */

.goal-status{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

margin-bottom:35px;

}

.status-card{

background:#151d31;

padding:25px;

border-radius:18px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.3s;

}

.status-card:hover{

transform:translateY(-5px);

box-shadow:0 12px 28px rgba(0,0,0,.35);

}

.status-card h3{

font-size:16px;

color:#9aa8b5;

margin-bottom:10px;

}

.status-card h2{

font-size:28px;

color:#00d4ff;

}

/* ==========================================
   ACTIONS
========================================== */

.goal-actions{

display:flex;

flex-wrap:wrap;

justify-content:center;

gap:15px;

margin-bottom:40px;

}

.goal-actions button{

padding:14px 28px;

border:none;

outline:none;

border-radius:15px;

cursor:pointer;

background:linear-gradient(135deg,#00d4ff,#6c63ff);

color:#fff;

font-size:15px;

font-weight:600;

transition:.3s;

}

.goal-actions button:hover{

transform:translateY(-4px);

box-shadow:0 12px 28px rgba(0,212,255,.45);

}

/* ==========================================
   GOAL LIST
========================================== */

.goal-list-section{

margin-bottom:40px;

}

.goal-list-section h2{

font-size:28px;

margin-bottom:20px;

color:#00d4ff;

}

.goal-list{

background:#151d31;

padding:20px;

border-radius:18px;

border:1px solid rgba(255,255,255,.08);

min-height:220px;

overflow-y:auto;

}

.goal-list p{

margin-bottom:12px;

font-size:15px;

line-height:1.7;

color:#b6c2d1;

}

/* ==========================================
   QUICK GOAL
========================================== */

.quick-goal{

margin-bottom:40px;

}

.quick-goal h2{

font-size:28px;

margin-bottom:20px;

color:#00d4ff;

}

.quick-goal input{

width:100%;

padding:15px;

border:none;

outline:none;

border-radius:15px;

background:#151d31;

color:#fff;

font-size:15px;

margin-bottom:15px;

border:1px solid rgba(255,255,255,.08);

}

.quick-goal button{

padding:14px 28px;

border:none;

border-radius:15px;

cursor:pointer;

background:linear-gradient(135deg,#00d4ff,#6c63ff);

color:#fff;

font-size:15px;

font-weight:600;

transition:.3s;

}

.quick-goal button:hover{

transform:translateY(-4px);

box-shadow:0 12px 28px rgba(0,212,255,.45);

}

/* ==========================================
   PRIORITY GOALS
========================================== */

.priority-goals{

margin-bottom:40px;

}

.priority-goals h2{

font-size:28px;

margin-bottom:20px;

color:#00d4ff;

}

.priority-grid,

.analytics-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

}

.priority-card,

.analytics-card{

background:#151d31;

padding:22px;

border-radius:18px;

border:1px solid rgba(255,255,255,.08);

text-align:center;

transition:.3s;

}

.priority-card:hover,

.analytics-card:hover{

transform:translateY(-5px);

box-shadow:0 12px 25px rgba(0,0,0,.35);

}

.priority-card h3,

.analytics-card h3{

font-size:16px;

margin-bottom:10px;

color:#9aa8b5;

}

.priority-card p{

font-size:15px;

font-weight:600;

color:#00ff88;

}

.analytics-card h2{

font-size:28px;

color:#00d4ff;

}

/* ==========================================
   GOAL HISTORY
========================================== */

.goal-history{

margin-bottom:40px;

}

.goal-history h2{

font-size:28px;

margin-bottom:20px;

color:#00d4ff;

}

.goal-history-list{

background:#151d31;

padding:20px;

border-radius:18px;

border:1px solid rgba(255,255,255,.08);

min-height:220px;

overflow-y:auto;

}

.goal-history-list p{

margin-bottom:12px;

font-size:15px;

line-height:1.7;

color:#b6c2d1;

}

/* ==========================================
   GOAL MODAL
========================================== */

.goal-modal{

display:none;

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.75);

backdrop-filter:blur(8px);

justify-content:center;

align-items:center;

z-index:999;

}

.goal-modal-content{

background:#151d31;

width:90%;

max-width:700px;

padding:30px;

border-radius:20px;

border:1px solid rgba(255,255,255,.08);

position:relative;

animation:popup .3s ease;

}

.close-modal{

position:absolute;

right:20px;

top:15px;

font-size:24px;

cursor:pointer;

transition:.3s;

}

.close-modal:hover{

color:#00d4ff;

transform:rotate(90deg);

}

@keyframes popup{

from{

opacity:0;

transform:scale(.85);

}

to{

opacity:1;

transform:scale(1);

}

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:768px){

.goals-header h1{

font-size:30px;

}

.goal-status,

.priority-grid,

.analytics-grid{

grid-template-columns:1fr;

}

.goal-actions{

flex-direction:column;

}

.goal-actions button,

.quick-goal button{

width:100%;

}

.goal-modal-content{

padding:20px;

}

}