/*
   IMPORTANT:
   Warmup statistic-card styles are scoped under .warmup-page so they do not
   override the Dashboard SMTP Health Overview card.
*/

.warmup-page{

padding:40px;

width:100%;

box-sizing:border-box;

}

/* HEADER */

.warmup-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:26px;

}

.warmup-header h1{

font-size:48px;

font-weight:700;

color:#1d4ed8;

margin:0;

}

/* BUTTON */

.start-warmup-btn{

background:#2563eb;

color:white;

border:none;

padding:14px 28px;

border-radius:14px;

font-size:16px;

font-weight:600;

cursor:pointer;

transition:0.3s;

}

.start-warmup-btn:hover{

background:#1e40af;

}

/* COMPACT STATS */

.warmup-stats{

display:grid;

grid-template-columns:repeat(4,minmax(0,1fr));

gap:20px;

margin-bottom:30px;

align-items:stretch;

}

.warmup-page .warmup-card{

background:white;

padding:22px 28px;

height:138px;

min-height:138px;

box-sizing:border-box;

border-radius:22px;

box-shadow:0 4px 12px rgba(0,0,0,0.05);

display:flex;

flex-direction:column;

justify-content:center;

}

.warmup-page .warmup-card h3{

font-size:18px;

line-height:1.25;

margin:0 0 12px;

color:#6b7280;

}

.warmup-page .warmup-card p{

font-size:38px;

line-height:1;

font-weight:700;

color:#111827;

margin:0;

}

/* TABLE */

.warmup-table-container{

background:white;

padding:25px;

border-radius:24px;

box-shadow:0 4px 12px rgba(0,0,0,0.05);

overflow-x:auto;

}

.warmup-table{

width:100%;

border-collapse:collapse;

}

.warmup-table thead{

background:#f3f4f6;

}

.warmup-table th{

padding:18px;

text-align:left;

font-size:16px;

font-weight:700;

color:#374151;

}

.warmup-table td{

padding:18px;

border-bottom:1px solid #e5e7eb;

font-size:15px;

}

/* STATUS */

.warmup-status{

padding:8px 14px;

border-radius:999px;

font-size:14px;

font-weight:600;

display:inline-block;

}

.warmup-status.active{

background:#dcfce7;

color:#166534;

}

.warmup-status.paused{

background:#fef3c7;

color:#92400e;

}

.warmup-status.stopped{

background:#fee2e2;

color:#991b1b;

}

/* ACTION BUTTONS */

.warmup-actions{

display:flex;

align-items:center;

gap:6px;

white-space:nowrap;

}

.warmup-actions .start-warmup-btn{

padding:10px 18px;

border-radius:10px;

}

.pause-btn{

background:#facc15;

color:black;

border:none;

padding:10px 18px;

border-radius:10px;

cursor:pointer;

font-weight:600;

margin-right:0;

}

.stop-btn{

background:#ef4444;

color:white;

border:none;

padding:10px 18px;

border-radius:10px;

cursor:pointer;

font-weight:600;

}

@media(max-width:1100px){

    .warmup-stats{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media(max-width:650px){

    .warmup-page{
        padding:22px;
    }

    .warmup-header{
        align-items:flex-start;
        gap:16px;
        flex-direction:column;
    }

    .warmup-header h1{
        font-size:38px;
    }

    .warmup-stats{
        grid-template-columns:1fr;
    }

    .warmup-page .warmup-card{
        height:125px;
        min-height:125px;
    }

}

/* SERVER ENGINE STATUS */

.warmup-title-group{

display:flex;

flex-direction:column;

gap:8px;

}

.warmup-server-engine-status{

margin:0;

font-size:13px;

font-weight:700;

line-height:1.4;

}

.warmup-server-engine-status.online{

color:#15803d;

}

.warmup-server-engine-status.sleeping{

color:#b45309;

}

.warmup-server-engine-status.offline{

color:#b91c1c;

}

.warmup-status.sleeping,
.warmup-status.completed{

background:#dbeafe;

color:#1d4ed8;

}

.warmup-status.new{

background:#f1f5f9;

color:#64748b;

}

.warmup-actions button:disabled{

opacity:.5;

cursor:not-allowed;

pointer-events:none;

}

.warmup-target-text{

color:#718096;

}

.warmup-empty-row{

text-align:center;

padding:25px !important;

color:#64748b;

}

