/* ==========================================================
   TALENZOA - Upload CV
   Version: 1.0
========================================================== */

/* Wrapper */

.tz-upload-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ==========================
   Hero Section
========================== */

.tz-hero {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
}

.tz-hero-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.tz-hero h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    color: #111827;
}

.tz-subtitle {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 600;
    color: #2563EB;
}

.tz-description {
    margin: 20px auto 0;
    max-width: 700px;
    line-height: 1.8;
    color: #6B7280;
    font-size: 16px;
}

/* ==========================
   Cards
========================== */

.tz-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    margin-bottom:35px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.tz-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111827;
}

/* ==========================
   Grid
========================== */

.tz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* ==========================
   Fields
========================== */

.tz-field {
    display: flex;
    flex-direction: column;
}

.tz-field label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.tz-field input,
.tz-field textarea,
.tz-field select {

    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    transition: .3s;
    box-sizing: border-box;
}

.tz-field textarea {
    resize: vertical;
    min-height: 160px;
}

.tz-field input:focus,
.tz-field textarea:focus,
.tz-field select:focus {

    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12);

}

/* ==========================
   Full Width Field
========================== */

.tz-full {
    grid-column: 1 / -1;
}

/* ==========================
   Upload Area
========================== */

.tz-upload-box{

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    width:100%;

    min-height:300px;

    padding:50px 30px;

    border:2px dashed #CBD5E1;

    border-radius:20px;

    background:#F8FAFC;

    cursor:pointer;

    transition:.3s;

    text-align:center;

    box-sizing:border-box;

}

.tz-upload-box:hover{

    background:#EFF6FF;

    border-color:#2563EB;

}

.tz-upload-icon{

    font-size:56px;

    margin-bottom:20px;

    line-height:1;

}

.tz-upload-title{

    font-size:24px;

    font-weight:700;

    color:#111827;

    margin-bottom:12px;

}

.tz-upload-subtitle{

    color:#6B7280;

    margin:18px 0;

    font-size:15px;

}

.tz-upload-formats{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top:10px;

    font-size:14px;

    font-weight:600;

    color:#16A34A;

}

.tz-upload-formats span {

    margin: 0 10px;

}
.tz-upload-note{

    margin-top:15px;

    color:#6B7280;

    font-size:14px;

}

/* Hide Native File Input */

.tz-upload-box input[type=file]{

    display:none !important;

}

/* Browse Button */

.tz-browse-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    background:#2563EB;

    color:#fff;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

    margin-bottom:20px;

}

.tz-browse-btn:hover{

    background:#1D4ED8;

}

/* ==========================
   Checkbox
========================== */

.tz-checkbox{

    display:flex;
    align-items:flex-start;
    gap:12px;
    margin:30px 0;
    font-size:15px;
    color:#4B5563;

}

.tz-checkbox input{

    margin-top:4px;

}

/* ==========================
   Submit Button
========================== */

.tz-btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:12px;

    background:#111827;

    color:#fff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.tz-btn:hover{

    background:#2563EB;

    transform:translateY(-2px);

}

/* ==========================
   Response
========================== */

#tz-response{

    margin-top:25px;
    text-align:center;
    font-weight:600;

}

/* ==========================
   Responsive
========================== */

@media(max-width:991px){

.tz-grid{

grid-template-columns:1fr;

}

.tz-full{

grid-column:auto;

}

}

@media(max-width:768px){
    

.tz-upload-wrapper{

margin:30px auto;
padding:0 15px;

}

.tz-grid{

grid-template-columns:1fr;

}

.tz-hero{

padding:40px 25px;

}

.tz-hero h1{

font-size:32px;

}

.tz-subtitle{

font-size:18px;

}

.tz-description{

font-size:15px;

}

.tz-card{

padding:25px;

}

.tz-upload-box{
    min-height:240px;

padding:30px;



}

.tz-upload-title{

font-size:18px;

}

}

@media(max-width:480px){

.tz-hero-icon{

width:70px;
height:70px;
font-size:32px;

}

.tz-hero h1{

font-size:28px;

}

.tz-btn{

padding:16px;

}

}

/* ==========================================
   Button Spinner
========================================== */

.tz-btn{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}
.tz-btn:disabled{

    opacity:.8;

    cursor:not-allowed;

}
.tz-spinner{

    width:18px;
    height:18px;

    border:3px solid rgba(255,255,255,.35);
    border-top-color:#fff;

    border-radius:50%;

    animation:tz-spin .7s linear infinite;

    display:none;

}

@keyframes tz-spin{

    to{
        transform:rotate(360deg);
    }

}

.tz-btn.loading .tz-spinner{
    display:block;
}

.tz-btn.loading .tz-btn-text{
    opacity:.8;
}
/* ==========================================
   Selected File
========================================== */

#tz-file-name{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    margin-top:15px;

    font-size:15px;

    color:#2d3748;

}

.tz-file-icon{

    color:#2563eb;

    font-size:20px;

}

.tz-file-size{

    color:#718096;

    font-size:13px;

}
.tz-form-section h3,
.tz-upload-section h3{

    display:flex;
    align-items:center;
    gap:10px;

    font-size:22px;
    font-weight:600;
}

.tz-form-section h3 i,
.tz-upload-section h3 i{

    color:#9c1c54;   /* Marushika/Talenzoa Maroon */
    width:24px;
    text-align:center;
}