.sv-resume-page{
    min-height:100vh;
    padding:34px 16px 70px;
    background:
        radial-gradient(circle at 5% 8%,rgba(18,103,214,.09),transparent 26%),
        radial-gradient(circle at 95% 12%,rgba(255,153,51,.09),transparent 24%),
        #f4f7fb;
}

.sv-resume-container{
    max-width:1180px;
    margin:0 auto;
}

.sv-resume-hero{
    background:linear-gradient(135deg,#071a2a,#0e3d5d);
    border-radius:26px;
    padding:38px;
    color:#fff;
    box-shadow:0 15px 45px rgba(7,26,42,.13);
    margin-bottom:24px;
    position:relative;
    overflow:hidden;
}

.sv-resume-hero:before{
    content:"RESUME";
    position:absolute;
    right:16px;
    bottom:-10px;
    font-size:92px;
    line-height:1;
    font-weight:900;
    color:rgba(255,255,255,.035);
}

.sv-resume-eyebrow{
    display:inline-flex;
    padding:7px 13px;
    border-radius:999px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.sv-resume-hero h1{
    margin:15px 0 9px;
    font-size:clamp(32px,4vw,48px);
    line-height:1.06;
    font-weight:900;
}

.sv-resume-hero p{
    margin:0;
    max-width:760px;
    color:#dbeafe;
    line-height:1.75;
}

.sv-resume-layout{
    display:grid;
    grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);
    gap:22px;
    align-items:start;
}

.sv-resume-form-card,
.sv-resume-side-card{
    background:#fff;
    border:1px solid #e4e9ef;
    border-radius:22px;
    box-shadow:0 9px 32px rgba(7,26,42,.07);
}

.sv-resume-form-card{
    padding:28px;
}

.sv-resume-side-card{
    padding:23px;
    position:sticky;
    top:90px;
}

.sv-resume-section{
    border:1px solid #e6ebf1;
    border-radius:18px;
    padding:22px;
    margin-bottom:18px;
    background:linear-gradient(180deg,#fff,#fbfcfe);
}

.sv-resume-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
}

.sv-resume-section-title{
    display:flex;
    align-items:center;
    gap:11px;
    margin:0;
    color:#0a2740;
    font-size:20px;
    font-weight:900;
}

.sv-resume-section-number{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    color:#fff;
    background:linear-gradient(135deg,#1267d6,#0b4fa8);
    font-size:13px;
    font-weight:900;
}

.sv-resume-label{
    display:block;
    margin-bottom:7px;
    font-size:13px;
    font-weight:800;
    color:#334155;
}

.sv-resume-input,
.sv-resume-select,
.sv-resume-textarea{
    width:100%;
    border:1px solid #d8e0e9;
    border-radius:11px;
    padding:11px 13px;
    color:#172033;
    background:#fff;
    outline:none;
    box-sizing:border-box;
}

.sv-resume-input,
.sv-resume-select{
    min-height:46px;
}

.sv-resume-textarea{
    resize:vertical;
    min-height:110px;
}

.sv-resume-input:focus,
.sv-resume-select:focus,
.sv-resume-textarea:focus{
    border-color:#69a0df;
    box-shadow:0 0 0 4px rgba(18,103,214,.09);
}

.sv-resume-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.sv-resume-grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.sv-resume-photo-box{
    border:1px dashed #b9cae0;
    border-radius:16px;
    padding:17px;
    background:#f8fbff;
}

.sv-resume-photo-preview{
    width:84px;
    height:84px;
    border-radius:16px;
    object-fit:cover;
    display:none;
    margin:0 0 12px;
    border:3px solid #fff;
    box-shadow:0 6px 17px rgba(7,26,42,.12);
}

.sv-resume-helper{
    margin-top:6px;
    color:#7a8595;
    font-size:12px;
    line-height:1.55;
}

.sv-resume-row-card{
    background:#f9fbfd;
    border:1px solid #e1e7ee;
    border-radius:15px;
    padding:16px;
    margin-bottom:12px;
}

.sv-resume-actions{
    display:flex;
    justify-content:space-between;
    gap:12px;
    align-items:center;
    padding-top:5px;
}

.sv-resume-primary{
    min-height:50px;
    padding:0 25px;
    border:0;
    border-radius:13px;
    background:linear-gradient(135deg,#1267d6,#0b4fa8);
    color:#fff;
    font-weight:900;
    cursor:pointer;
}

.sv-resume-secondary{
    min-height:44px;
    border-radius:11px;
    padding:0 16px;
    border:1px solid #bad2ef;
    background:#fff;
    color:#1267d6;
    font-weight:800;
    cursor:pointer;
}

.sv-resume-side-card h2{
    margin:0 0 16px;
    color:#0a2740;
    font-size:19px;
}

.sv-resume-tip{
    display:flex;
    gap:11px;
    margin-bottom:14px;
    color:#526176;
    line-height:1.55;
    font-size:13px;
}

.sv-resume-tip-icon{
    flex:0 0 30px;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#edf4ff;
}

.sv-resume-completion{
    padding:15px;
    border-radius:15px;
    background:linear-gradient(135deg,#eef7ff,#f8fbff);
    border:1px solid #dbe9f7;
    margin-top:17px;
}

.sv-resume-completion strong{
    display:block;
    color:#0b4fa8;
    margin-bottom:6px;
}

.sv-resume-preview-page{
    min-height:100vh;
    padding:28px 16px 60px;
    background:#eef2f7;
}

.sv-resume-preview-container{
    max-width:1000px;
    margin:0 auto;
}

.sv-resume-preview-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-bottom:15px;
}

.sv-resume-sheet{
    background:#fff;
    border-radius:10px;
    box-shadow:0 14px 45px rgba(7,26,42,.13);
    overflow:hidden;
}

.sv-resume-sheet-top{
    padding:34px;
    color:#fff;
    background:linear-gradient(135deg,#071a2a,#0e3d5d);
}

.sv-resume-sheet-head{
    display:grid;
    grid-template-columns:1fr 125px;
    gap:22px;
    align-items:center;
}

.sv-resume-sheet-name{
    margin:0;
    font-size:38px;
    line-height:1.06;
    font-weight:900;
}

.sv-resume-sheet-title{
    margin-top:7px;
    color:#cfe4ff;
    font-size:18px;
    font-weight:700;
}

.sv-resume-sheet-contact{
    margin-top:13px;
    color:#dbeafe;
    line-height:1.7;
    font-size:13px;
}

.sv-resume-sheet-photo{
    width:118px;
    height:118px;
    border-radius:18px;
    object-fit:cover;
    border:4px solid rgba(255,255,255,.9);
    justify-self:end;
}

.sv-resume-sheet-body{
    padding:34px;
}

.sv-resume-sheet-section{
    margin-bottom:26px;
}

.sv-resume-sheet-section h2{
    margin:0 0 12px;
    padding-bottom:8px;
    border-bottom:2px solid #e9eef4;
    color:#0b3655;
    font-size:18px;
    font-weight:900;
}

.sv-resume-sheet-item{
    padding:12px 0 14px;
    border-bottom:1px solid #eef1f5;
}

.sv-resume-sheet-item:last-child{
    border-bottom:0;
}

.sv-resume-sheet-item-title{
    font-weight:900;
    color:#172033;
}

.sv-resume-sheet-item-sub{
    color:#617084;
    font-size:13px;
    margin-top:3px;
}

.sv-resume-skill-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.sv-resume-skill{
    padding:7px 11px;
    border-radius:999px;
    background:#edf4ff;
    color:#0b4fa8;
    font-size:12px;
    font-weight:800;
}

@media(max-width:1000px){
    .sv-resume-layout{
        grid-template-columns:1fr;
    }

    .sv-resume-side-card{
        position:static;
    }
}

@media(max-width:700px){
    .sv-resume-page,
    .sv-resume-preview-page{
        padding:20px 12px 45px;
    }

    .sv-resume-hero,
    .sv-resume-form-card,
    .sv-resume-side-card{
        padding:21px 17px;
        border-radius:18px;
    }

    .sv-resume-grid-2,
    .sv-resume-grid-3{
        grid-template-columns:1fr;
    }

    .sv-resume-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .sv-resume-sheet-head{
        grid-template-columns:1fr;
    }

    .sv-resume-sheet-photo{
        justify-self:start;
    }

    .sv-resume-sheet-name{
        font-size:30px;
    }

    .sv-resume-sheet-top,
    .sv-resume-sheet-body{
        padding:24px 20px;
    }
}

@media print{
    .sv-resume-preview-actions,
    header,
    footer{
        display:none !important;
    }

    .sv-resume-preview-page{
        padding:0;
        background:#fff;
    }

    .sv-resume-sheet{
        box-shadow:none;
        border-radius:0;
    }
}
