.admission-wrapper{display:flex; height:100vh; font-family:serif; background:#fdfbf6; overflow: hidden;}

.logo{font-size:28px;font-weight:bold;margin-bottom:20px}
.form-title{ color: #c62828; font-size: 22px; margin-bottom: 25px; }

.sidebar {
    width: 320px;
    background: #fff;
    padding: 30px 20px;
    height: 100vh;
    overflow: hidden;
	overflow-y: auto;
	scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Vertical Line */
.step-list::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #ddd;
}

/* Each Step */
.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    position: relative;
}

/* Circle */
.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #dcdcdc;
    background: #fff;
    text-align: center;
    line-height: 36px;
    font-weight: 600;
    color: #999;
    z-index: 2;
}

.esp-step-content{ margin-left: 15px; }

.esp-step-content h4 {
    margin: 0;
    font-size: 16px;
    color: #2c2c2c;
}

.esp-step-content p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #9a9a9a;
}

/* Active Step */
.step.active .circle {
    background: #c62828;
    border-color: #c62828;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(198, 40, 40, 0.1);
}

.step.active .esp-step-content h4 {
    color: #c62828;
}

.step.active .esp-step-content p {
    color: #c62828;
}


.header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding-bottom: 10px;
}


.header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    padding-bottom: 10px;
}

.header small{letter-spacing:2px;color:#999}
.header h2{margin-top:10px}

/* Content */
.esp-content {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 40px;
    background: #fdfbf6;
}

.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
input{padding:12px;border:1px solid #ddd;border-radius:6px;width:100%}
.footer{margin-top:30px;display:flex;justify-content:space-between}
button{padding:10px 20px;border:none;border-radius:6px;background:#1f2a44;color:#fff}
input.error {
  border: 2px solid red;
  background: #ffe6e6;
}

.form-content {
  flex: 1;
  padding: 40px;
  background: #fff;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

input {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 15px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Buttons */
.form-navigation {
  margin-top: 20px;
}

button {
  padding: 10px 20px;
  border: none;
  background: #1f2a44;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* Sticky Bottom Bar */
.esp-bottom-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fdfbf6;
    border-top: 1px solid #e5e5e5;
    padding: 15px 20px;
    z-index: 50;
}

/* Layout */
.esp-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Progress */
.esp-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
}

.esp-bar {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 10px;
}

.esp-fill {
    height: 100%;
    background: #1d2b44;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Buttons */
.esp-actions {
    display: flex;
    gap: 10px;
}

.esp-btn-light {
    background: #eee;
    padding: 10px 18px;
    border-radius: 8px;
    border: none;
}

.esp-btn-dark {
    background: #1d2b44;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    border: none;
}

@media (max-width: 1024px) {

    .admission-wrapper {
        flex-direction: column;
        height: auto;
    }

    .sidebar {
        width: 100%;
        height: auto;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 15px;
    }

    .step-list {
        display: flex;
        gap: 20px;
    }

    .step {
        flex-direction: column;
        align-items: center;
        min-width: 120px;
    }

    .step-list::before {
        display: none;
    }

    .esp-content {
        height: auto;
        padding: 30px 20px;
		padding-bottom: 100px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    .logo img {
        width: 80px;
    }

    .form-title {
        font-size: 18px;
    }

    .esp-content {
        padding: 20px 15px;
    }

    .header h2 {
        font-size: 22px;
    }

    .header small {
        font-size: 11px;
    }

    input {
        padding: 10px;
        font-size: 14px;
    }

    .footer {
        flex-direction: column;
        gap: 10px;
    }

    button {
        width: 100%;
    }


	.esp-bottom-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .esp-progress {
        width: 100%;
    }

    .esp-actions {
        width: 100%;
        display: flex;
    }

    .esp-actions button {
        flex: 1;
    }


}

