/* Multi-Step Forms Manager Styles */

.msf-form-container {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f3f5fa;
    color: #1b2a3a;
}

.msf-form-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.msf-toggle-btn {
    padding: 10px 20px;
    border: 1px solid #e5e8ef;
    background: white;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
}

.msf-toggle-btn.active {
    background: #0f2a4d;
    color: white;
}

.msf-toggle-btn:last-child {
    border-radius: 0 5px 5px 0;
    border-left: none;
}

.msf-steps {
    background: white;
    border-bottom: 1px solid #e5e8ef;
}

.msf-steps ul {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 20px;
    margin: 0;
    justify-content: center;
}

.msf-steps li {
    font-size: 14px;
    opacity: 0.5;
}

.msf-steps li.active {
    opacity: 1;
    font-weight: 600;
}

.msf-progress {
    height: 6px;
    background: #e6ebf2;
    border-radius: 4px;
    margin: 0 20px;
}

.msf-progress-bar {
    height: 6px;
    background: #1c3f74;
    border-radius: 4px;
    transition: width 0.3s;
}

.msf-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    margin: 20px;
}

.msf-step {
    display: none;
}

.msf-step.active {
    display: block;
}

.msf-step h2 {
    margin-top: 0;
    font-size: 24px;
    color: #0f2a4d;
}

.msf-step > p {
    color: #666;
    font-size: 14px;
}

.msf-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f2a4d;
    margin-top: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.msf-section-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.msf-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.msf-fields.grid-1 {
    grid-template-columns: 1fr;
}

.msf-fields.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

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

.msf-field label {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1b2a3a;
}

.msf-field label .required {
    color: #d00;
}

.msf-field input,
.msf-field select,
.msf-field textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.msf-field input:focus,
.msf-field select:focus,
.msf-field textarea:focus {
    outline: none;
    border-color: #0f2a4d;
    box-shadow: 0 0 0 3px rgba(15, 42, 77, 0.1);
}

.msf-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* File upload styling */
.msf-file-upload {
    position: relative;
    margin-top: 10px;
}

.msf-file-upload input[type="file"] {
    display: none;
}

.msf-file-upload .msf-file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 2px dashed #d0d7e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #f9fafb;
}

.msf-file-upload .msf-file-label:hover {
    border-color: #0f2a4d;
    background: #f3f5fa;
}

.msf-file-upload .msf-file-label i {
    font-size: 32px;
    color: #0f2a4d;
}

.msf-file-text small {
    color: #888;
}

.msf-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.msf-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.msf-btn-back {
    background: #e9edf4;
}

.msf-btn-next,
.msf-btn-submit {
    background: #173b70;
    color: white;
}

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

@media (max-width: 768px) {
    .msf-fields {
        grid-template-columns: 1fr;
    }

    .msf-steps ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .msf-form {
        margin: 10px;
        padding: 20px;
    }
}

/* Topbar and hero (matching template) */
.topbar{
    background:#0f2a4d;
    color:white;
    padding:14px 0;
}

.msf-container{
    width:1100px;
    margin:auto;
}

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

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:600;
}

.logo-box{
    width:34px;
    height:34px;
    background:#d8b25d;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#0f2a4d;
    font-weight:700;
}

.hero{
    background:linear-gradient(135deg,#142f55,#1c3f74);
    color:white;
    padding:50px 0;
}

.hero-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.hero h1{
    font-size:38px;
    margin:0;
}

.hero span{
    color:#d8b25d;
}

.stats{
    display:flex;
    gap:50px;
    text-align:center;
}

.stats strong{
    font-size:26px;
    display:block;
}

/* Option cards used for account-type step */
.msf-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:20px;
}

.msf-option{
    border:1px solid #e4e8f0;
    border-radius:10px;
    padding:20px;
    display:flex;
    gap:15px;
    cursor:pointer;
    align-items:flex-start;
}

.msf-option.active{
    border:2px solid #0f2a4d;
    background:#f6f8fc;
}

.msf-option .icon{
    font-size:22px;
    color:#1c3f74;
}

.msf-badge{
    display:inline-block;
    background:#d8b25d;
    font-size:11px;
    padding:4px 8px;
    border-radius:10px;
    margin-top:5px;
}

.msf-option-description{
    font-size:12px;
    color:#555;
}
