:root{
    --primary:#D0021B; --secondary:#D4AF37;
    --bg:#000; --text:#E6E6E6; --muted:#A9A9A9;
    --card:#0B0B0B; --border:#171717; --radius:12px;
    --ok:#19C37D; --warn:#FFB020; --error:#FF5C5C;
}

body {
 padding-top: 70px !important;
}

html,body{
    background:var(--bg);
    color:var(--text);
    font-family:"Noto Sans KR","Roboto",system-ui,sans-serif
}

a{
    color:inherit;
    text-decoration:none
}

img{
    max-width:100%;
    display:block
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px
}

/* Header */
header{
    position:sticky;
    top:0;
    z-index:30;
    background:rgba(10,10,10,.85);
    border-bottom:1px solid #111;
    backdrop-filter:saturate(140%) blur(6px)
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:64px
}

.brand{
    display:flex;
    gap:10px;
    align-items:center
}

.brand .logo{
    width:36px;
    height:36px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--secondary),#8f6b00)
}

nav.menu{
    display:flex;
    gap:18px;
    align-items:center
}

.cta{background:var(--primary);padding:8px 12px;border-radius:10px;}

.lang-switch{display:flex;gap:8px;margin-left:8px}

.lang-switch button{background:#151515;border:1px solid #2a2a2a;color:#ddd;padding:6px 10px;border-radius:8px;cursor:pointer}

.lang-switch button.active{border-color:var(--secondary);color:var(--secondary)}

/* 모바일 내비 */
.hamburger{display:none;width:36px;height:36px;border:1px solid #2a2a2a;border-radius:8px;align-items:center;justify-content:center;background:#141414;flex-direction:column;gap:3px;cursor:pointer}
.hamburger span{width:18px;height:2px;background:#e6e6e6;transition:all 0.3s ease;display:block}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(7px,-6px)}

/* Page head */
.breadcrumb{padding:14px 0 6px;color:var(--muted)}
.page-title{padding:10px 0 18px;border-bottom:1px solid var(--border)}
.page-title h1{font-size:28px;font-weight:900}

/* Sections */
section{padding:25px 0;border-bottom:1px solid #0f0f0f}
h2{font-size:24px;font-weight:900;margin-bottom:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px}

/* Overview pills */
.pill{display:flex;align-items:center;gap:8px;background:#0d0d0d;border:1px solid #222;border-radius:999px;padding:8px 12px}

/* Stepper */

.stepper{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.step-eval{position:relative;background:#0b0b0b;border:1px solid #222;border-radius:12px;padding:10px;text-align:center}
.step-eval.active{border-color:var(--secondary);box-shadow:0 0 0 1px var(--secondary) inset}
.progress{height:8px;background:#111;border-radius:999px;overflow:hidden;margin-top:12px}
.progress>span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--secondary));width:0%}

/* Form */
/*
form{display:grid;gap:14px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.field{position:relative}
label{display:block;color:#cfcfcf;margin:0 0 6px}
input[type="text"],input[type="email"],input[type="tel"],select,textarea{
width:100%;background:#0d0d0d;border:1px solid #222;color:#e6e6e6;border-radius:10px;padding:12px;transition:.2s
}
textarea{min-height:120px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--secondary);box-shadow:0 0 0 2px rgba(212,175,55,.15)}
.help{font-size:12px;color:#9a9a9a;margin-top:4px}
.invalid{border-color:var(--error)!important}
.err{color:var(--error);font-size:12px;margin-top:4px}

.toolbar{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}
.btn{background:#141414;border:1px solid #2b2b2b;border-radius:10px;padding:10px 14px;color:#e6e6e6;cursor:pointer}
.btn.primary{background:var(--primary);border-color:var(--primary)}
.btn.ghost{background:transparent}
.btn[disabled]{opacity:.5;cursor:not-allowed}
*/
/* Award categories */
.categories{display:grid;grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));gap:16px;margin-top:20px}
.category-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.category-title{color:var(--secondary);font-weight:700;margin-bottom:12px;font-size:18px}
.category-desc{font-size:14px;line-height:1.6;margin-bottom:12px}
.category-target{font-size:13px;color:var(--muted)}


/* FAQ */
.faq details{background:#0b0b0b;border:1px solid #151515;border-radius:12px;padding:10px;margin-bottom:10px}
.faq summary{cursor:pointer;font-weight:700;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"▾";float:right;transition:.25s}
.faq details[open] summary::after{transform:rotate(180deg)}

/* Responsive */
@media (max-width:1024px){
.grid-3{grid-template-columns:1fr 1fr}
.grid-2,.row{grid-template-columns:1fr}
.stepper{grid-template-columns:repeat(3,1fr)}
.categories{grid-template-columns:1fr}
}
@media (max-width:767px){
.menu{display:none !important;position:absolute;top:100%;left:0;right:0;background:#0a0a0a;border-top:1px solid #1d1d1d;flex-direction:column;padding:10px 0;z-index:50}
.menu.show{display:flex !important}
.menu a{padding:12px 20px;border-bottom:1px solid #151515;display:block;text-align:left}
.menu .lang-switch{margin-left:0;padding:10px 20px;justify-content:center;border-bottom:none}
.hamburger{display:flex}
.nav{position:relative}
.grid-3{grid-template-columns:1fr}
.stepper{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
.grid-3{grid-template-columns:1fr}
.stepper{grid-template-columns:1fr 1fr}
}

/* 모바일 가로 화면 (landscape) */
@media (max-width: 767px) and (orientation: landscape) {
.container{padding:0 12px}
.nav{height:48px;gap:8px}
.brand .logo{width:32px;height:32px}
.brand h1{font-size:16px}
.hamburger{width:32px;height:32px}
.hamburger span{width:16px}
.page-title{padding:8px 0 12px}
.page-title h1{font-size:20px}
.section{padding:30px 0}
.section h2{font-size:18px;margin-bottom:12px}
.grid-2{gap:12px}
.grid-3{gap:8px}
.categories{gap:12px}
.category-card{padding:12px}
.category-title{font-size:16px;margin-bottom:8px}
.category-desc{font-size:12px;margin-bottom:8px}
.category-target{font-size:11px}
.btn{padding:8px 12px;font-size:14px;}
footer{padding:20px 0}
footer .cols{gap:12px}
footer strong{font-size:14px}
footer a{font-size:12px}
}

/*
CUSTOM STYLING BEGINS HERE
*/

/*ONLINE RED APPLICATION BUTTON*/

.margin-top-10 {
    margin-top: 10px;
}
/*ONLINE RED APPLICATION BUTTON ENDS*/
/*
REQUIREMENTS CONTAINER STYLING STARTS HERE
*/
/* Requirements Container Styles - Ultra Compact */
.requirements-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 600px;   /* narrower */
    margin: 0 auto;     /* centered */
}

.requirements-header {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 15px;      /* reduced further */
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.requirements-main-title {
    font-size: 18px;    /* smaller */
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.requirements-main-subtitle {
    color: #64748b;
    font-size: 13px;
}

.requirements-content {
    padding: 15px;
}

.requirements-section {
    margin-bottom: 15px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e2e8f0;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 6px;           /* tighter */
}

.requirement-item-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;      /* reduced */
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.requirement-item-preview:hover {
    transform: none;    /* remove floaty hover */
    box-shadow: none;
    background: #f1f5f9;
}

.requirement-item-preview.required {
    border-left: 3px solid #dc2626;
}

.requirement-item-preview.conditional {
    border-left: 3px solid #f59e0b;
}

.requirement-item-preview.optional {
    border-left: 3px solid #64748b;
}

.req-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.req-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 13px;    /* smaller */
}

.req-description {
    color: #64748b;
    font-size: 11px;    /* smaller */
}

.req-status {
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 9px;     /* smaller */
    font-weight: 600;
    text-transform: uppercase;
}

.required-badge {
    background: #fee2e2;
    color: #dc2626;
}

.conditional-badge {
    background: #fef3c7;
    color: #f59e0b;
}

.optional-badge {
    background: #f1f5f9;
    color: #64748b;
}

.requirements-footer {
    background: #f8fafc;
    padding: 12px 15px;
    border-top: 1px solid #e2e8f0;
}

.file-format-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    justify-content: center;
}

.format-icon {
    font-size: 14px;
}

/* Mobile adjustments still preserved */
@media (max-width: 768px) {
    .requirements-header {
        padding: 12px;
    }

    .requirements-main-title {
        font-size: 16px;
    }

    .requirements-content {
        padding: 12px;
    }

    .section-title {
        font-size: 14px;
    }

    .requirement-item-preview {
        padding: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .req-content {
        width: 100%;
    }

    .requirements-footer {
        padding: 10px 12px;
    }

    .file-format-info {
        font-size: 11px;
        text-align: center;
    }
}


/*
REQUIREMENTS CONTAINER STYLING ENDS HERE
*/

/*
APPLICATION FORM STYLING STARTS HERE
*/
.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; /* reduced */
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 3px; /* slimmer */
    background: #e0e7ff;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.5s ease;
}

.form-header {
    padding: 20px; /* reduced from 40px */
    text-align: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.form-title {
    font-size: 20px; /* reduced from 28px */
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #64748b;
    font-size: 14px; /* reduced from 16px */
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px; /* reduced from 30px */
}

.step-dot {
    width: 10px; /* reduced from 12px */
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

.step-dot.completed {
    background: #22c55e;
}

.skip-text,
.step-subtitle,
.step-title {
    color: black;
}

.form-body {
    padding: 20px; /* reduced from 40px */
}

.step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-group {
    margin-bottom: 15px; /* reduced from 25px */
}

.input-label {
    display: block;
    margin-bottom: 6px; /* reduced */
    color: #374151;
    font-weight: 500;
    font-size: 13px; /* reduced from 14px */
}

.form-input {
    width: 100%;
    padding: 8px 12px; /* reduced */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px; /* reduced from 16px */
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.form-input.error {
    border-color: #ef4444;
    background: #fef2f2;
    animation: shake 0.4s ease-in-out;
}

.form-input.valid {
    border-color: #22c55e;
    background: #f0fdf4;
}

.form-input.valid:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

@keyframes shake {
    0%, 20%, 40%, 60%, 80% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
}

.field-error {
    margin-top: 3px;
    font-size: 11px; /* reduced */
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.field-error.show {
    opacity: 1;
}

.field-error::before {
    content: "⚠️";
    font-size: 9px;
}

.validation-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.validation-icon {
    font-size: 14px;
}

.validation-text {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}

.input-group.success .input-label::after {
    content: " ✓";
    color: #22c55e;
    font-weight: bold;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 20px; /* reduced */
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-upload-area.dragover {
    border-color: #667eea;
    background: #e0e7ff;
}

.upload-icon {
    font-size: 36px; /* reduced */
    color: #9ca3af;
    margin-bottom: 10px;
}

.upload-text {
    color: #6b7280;
    font-size: 14px; /* reduced */
    margin-bottom: 6px;
}

.upload-subtext {
    color: #9ca3af;
    font-size: 12px; /* reduced */
}

.file-input {
    display: none;
}

.uploaded-file {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    color: #0ea5e9;
    font-size: 16px;
}

.file-name {
    font-weight: 500;
    color: #0c4a6e;
}

.file-size {
    color: #64748b;
    font-size: 11px;
}

.remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.remove-file:hover {
    background: #fee2e2;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px; /* reduced from 40px */
}

.btn {
    padding: 8px 16px; /* reduced */
    border: none;
    border-radius: 8px;
    font-size: 14px; /* reduced */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.25);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* smaller cards */
    gap: 15px;
}

.document-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px; /* reduced */
    background: #fafafa;
    transition: all 0.3s ease;
}

.document-card.completed {
    border-color: #22c55e;
    background: #f0fdf4;
}

.document-card.optional-card {
    border-style: dashed;
    border-color: #cbd5e1;
    background: #f8fafc;
}

.document-card.optional-card.completed {
    border-style: solid;
    border-color: #22c55e;
    background: #f0fdf4;
}

.document-description {
    color: #64748b;
    font-size: 11px; /* reduced */
    margin-bottom: 10px;
    font-style: italic;
}

.document-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    font-size: 14px; /* reduced */
}

.summary-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.summary-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 16px; /* reduced */
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #64748b;
    font-weight: 500;
    font-size: 13px; /* reduced */
}

.summary-value {
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 48px; /* reduced */
    color: #22c55e;
    margin-bottom: 15px;
}

.success-title {
    font-size: 20px; /* reduced */
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.success-text {
    color: #64748b;
    font-size: 14px; /* reduced */
}

@media (max-width: 768px) {
    .form-body {
        padding: 15px;
    }

    .form-header {
        padding: 20px;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }
}

.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*
APPLICATION FORM STYLING ENDS HERE
*/


/*
SAFE WRAPPER CLASS TO STYLE DOCUMENTS CHECKLIST AND APPLICATION FORM INLINE
*/

.apply-layout {
  display: flex;
  justify-content: center;     /* keep centered horizontally */
  align-items: stretch;        /* make both children equal height */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.apply-checklist,
.apply-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;           /* optional: ensures consistent background */
  border-radius: 12px;         /* match your card style */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Checklist narrower */
.apply-checklist {
  max-width: 350px;
}

/* Form wider */
.apply-form {
  flex: 2;
  max-width: 600px;
}

/* Responsive stacking */
@media (max-width: 900px) {
  .apply-layout {
    flex-direction: column;
  }

  .apply-checklist,
  .apply-form {
    max-width: 100%;
  }
}


/*
SAFE WRAPPER CLASS ENDS HERE
*/

/*OLD STYILING - TO DELETE */

/* Uploader */
/*
.drop{border:2px dashed #333;border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:140px;background:#0b0b0b}
.drop.drag{border-color:var(--secondary);background:#0d0d0d}
.files{margin-top:10px}
.file{display:flex;justify-content:space-between;align-items:center;background:#0d0d0d;border:1px solid #222;border-radius:10px;padding:8px 10px;margin-top:6px}
.meter{height:6px;background:#111;border-radius:8px;overflow:hidden;margin-left:10px}
.meter>span{display:block;height:100%;background:linear-gradient(90deg,var(--secondary),#86f6b6);width:0%}
*/
/* Checklist */
/*
.checklist .item{display:flex;align-items:flex-start;gap:10px;margin:8px 0}
.checklist input{width:18px;height:18px;border-radius:4px}
.bar{height:10px;background:#0d0d0d;border:1px solid #222;border-radius:999px;overflow:hidden}
.bar>span{display:block;height:100%;background:linear-gradient(90deg,var(--ok),var(--secondary));width:0%}
*/