/* Reset and Base Styles */
:root {
    --primary-color: #4a6fdc;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --animation-time: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a2a6c 0%, #b21f1f 50%, #fdbb2d 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    background-attachment: fixed;
}

.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.form-header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.form-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.form-header i {
    margin-right: 15px;
    color: #fdbb2d;
    font-size: 2.2rem;
    vertical-align: middle;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

/* Progress Bar Styles */
.progress-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e9ecef;
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 12.5%;
    box-shadow: 0 0 10px rgba(253, 187, 45, 0.5);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 100px;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step.active {
    opacity: 1;
    transform: translateY(-5px);
}

.step.completed {
    opacity: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.step.active .step-number {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(178, 31, 31, 0.3);
}

.step.completed .step-number {
    background: #28a745;
    color: white;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 1.2rem;
}

.step-label {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 15px;
}

.step.active .step-label {
    color: #1a2a6c;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Form Styles */
form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px var(--shadow-color);
    flex: 1;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.form-step {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: clamp(1rem, 3vw, 2rem);
}

.form-step[data-step="4"],
.form-step[data-step="6"] {
    padding: clamp(1rem, 3vw, 2rem);
}

.form-step[data-step="4"] .form-group,
.form-step[data-step="6"] .form-group {
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
    width: 100%;
}

.form-step[data-step="4"] .form-group.full-width,
.form-step[data-step="6"] .form-group.full-width {
    grid-column: 1 / -1;
}

@media screen and (max-width: 768px) {
    .form-step[data-step="4"] .form-grid,
    .form-step[data-step="6"] .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-step[data-step="4"] select,
    .form-step[data-step="4"] input,
    .form-step[data-step="4"] textarea,
    .form-step[data-step="6"] select,
    .form-step[data-step="6"] input,
    .form-step[data-step="6"] textarea {
        font-size: clamp(14px, 3vw, 16px);
        padding: clamp(0.5rem, 2vw, 0.75rem);
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .form-step[data-step="4"],
    .form-step[data-step="6"] {
        padding: 1rem;
    }
    
    .form-step[data-step="4"] label,
    .form-step[data-step="6"] label {
        font-size: 14px;
    }
    
    .form-step[data-step="4"] select,
    .form-step[data-step="4"] input,
    .form-step[data-step="4"] textarea,
    .form-step[data-step="6"] select,
    .form-step[data-step="6"] input,
    .form-step[data-step="6"] textarea {
        font-size: 14px;
        padding: 0.5rem;
    }
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.step-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.step-header i {
    margin-right: 15px;
    color: #b21f1f;
    font-size: 1.8rem;
    vertical-align: middle;
}

.step-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: start;
    width: 100%;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.form-grid .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

@media screen and (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-grid .form-group {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .form-grid {
        gap: 0.75rem;
    }
    
    .form-grid .form-group {
        margin-bottom: 0.75rem;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a2a6c;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.form-group:focus-within label {
    color: #b21f1f;
    transform: translateY(-2px);
}

.required {
    color: #b21f1f;
    margin-left: 5px;
    font-size: 1.2rem;
    line-height: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 0.75rem);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: clamp(14px, 3vw, 16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a2a6c;
    box-shadow: 0 5px 15px rgba(26, 42, 108, 0.15);
    transform: translateY(-3px);
    background-color: #f9faff;
}

.form-group input[type="file"] {
    padding: 15px;
    border: 2px dashed #b21f1f;
    background: rgba(253, 187, 45, 0.05);
    cursor: pointer;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: #fdbb2d;
    background: rgba(253, 187, 45, 0.1);
    transform: translateY(-2px);
}

.form-group input[type="file"]::before {
    content: 'Choose File';
    position: absolute;
    top: 8px;
    right: 10px;
    background: #b21f1f;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    pointer-events: none;
}

.form-group small {
    margin-top: 8px;
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* Dynamic Entry Styles */
.qualification-entry,
.centre-entry,
.accomplishment-entry {
    margin-bottom: 20px;
    padding: 25px;
    border: 1px solid rgba(26, 42, 108, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.qualification-entry:hover,
.centre-entry:hover,
.accomplishment-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(26, 42, 108, 0.2);
}

.qualification-row,
.centre-row,
.accomplishment-row {
    display: grid;
    gap: 15px;
    align-items: center;
}

.qualification-row {
    grid-template-columns: 2fr 1fr 2fr auto;
}

.centre-row {
    grid-template-columns: 2fr 2fr 1fr 1fr auto;
}

.accomplishment-row {
    grid-template-columns: 3fr 1fr auto;
}

.add-btn,
.remove-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.add-btn {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b21f1f, #fdbb2d);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.add-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(178, 31, 31, 0.3);
}

.add-btn:hover::before {
    opacity: 1;
}

.remove-btn {
    background: #dc3545;
    color: white;
    width: 40px;
    height: 40px;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.remove-btn:hover {
    background: #c82333;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid rgba(26, 42, 108, 0.1);
    position: relative;
}

.form-navigation::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::after {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 42, 108, 0.3);
}

.btn-secondary {
    background: #495057;
    color: white;
}

.btn-secondary:hover {
    background: #343a40;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(73, 80, 87, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-success:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover i.fa-arrow-right,
.btn-success:hover i.fa-check {
    transform: translateX(5px);
}

.btn-secondary:hover i.fa-arrow-left {
    transform: translateX(-5px);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.success-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    animation: successIn 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.success-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

@keyframes successIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(-80px);
    }
    70% {
        opacity: 1;
        transform: scale(1.05) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-content i {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 25px;
    display: inline-block;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 5px 15px rgba(40, 167, 69, 0.3));
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.success-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1a2a6c;
    font-weight: 700;
}

.success-content p {
    color: #495057;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(26, 42, 108, 0.1);
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #1a2a6c;
    border-left-color: #b21f1f;
    animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 25px;
        margin: 20px auto;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 90%;
        padding: 20px;
        margin: 15px auto;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .hero {
        padding: 2.5rem 1.5rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .container {
        padding: 10px;
        /*margin: 10px;*/
        min-height: auto;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .progress-container {
        padding: 15px;
    }
    
    .step-indicators {
        gap: 5px;
    }
    
    .step {
        min-width: 80px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    form {
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .qualification-row,
    .centre-row,
    .accomplishment-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .remove-btn {
        /*width: 100%;*/
        margin-top: 10px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .form-header h1 {
        font-size: 1.5rem;
    }
    
    .step-header h2 {
        font-size: 1.4rem;
    }
    
    .success-content {
        margin: 15px;
        padding: 20px 15px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    input, select, textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .add-btn, .remove-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .validation-message {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 11px;
    }
    
    .container {
        padding: 8px;
        margin: 8px;
    }
    
    .form-header h1 {
        font-size: 1.3rem;
    }
    
    input, select, textarea {
        padding: 8px 10px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    border-radius: 10px;
    border: 3px solid rgba(241, 241, 241, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0f1a4c, #921f1f);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #1a2a6c #f1f1f1;
}

/* Validation */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

.form-group.valid input,
.form-group.valid select,
.form-group.valid textarea {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.validation-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
    font-weight: 500;
    padding-left: 5px;
    border-left: 2px solid #dc3545;
    animation: fadeInLeft 0.3s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group.invalid .validation-message {
    display: block;
}

.form-group.invalid label {
    color: #dc3545;
}

.form-group.valid label {
    color: #28a745;
}

/* Tooltip Styles */
.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: help;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f);
    transition: all 0.3s ease;
}

.tooltip i {
    color: white;
    font-size: 0.8rem;
}

.tooltip:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(26, 42, 108, 0.3);
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 250px;
    background: rgba(33, 37, 41, 0.95);
    color: #fff;
    text-align: left;
    border-radius: 10px;
    padding: 15px;
    position: absolute;
    z-index: 100;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #1a2a6c;
    backdrop-filter: blur(5px);
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(33, 37, 41, 0.95) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Summary styles */
.summary-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.summary-container h3 {
    color: var(--primary-color);
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.summary-container h3:first-child {
    margin-top: 0;
}

.summary-row {
    display: flex;
    margin-bottom: 10px;
    padding: 5px 0;
}

.summary-label {
    font-weight: 600;
    width: 30%;
    color: #555;
}

.summary-value {
    width: 70%;
}

.confirmation-checkbox {
    margin-top: 30px;
    padding: 15px;
    background-color: #e8f4ff;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.confirmation-checkbox label {
    font-weight: 600;
    color: #333;
}

/* Print styles */
@media print {
    .form-navigation, .progress-container {
        display: none !important;
    }

    .form-step {
        display: block !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        page-break-after: always;
        border: none !important;
        box-shadow: none !important;
        background: white !important;
    }

    .container {
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        max-width: 100% !important;
        background: white !important;
    }

    body {
        background: white !important;
        font-size: 12pt;
    }

    header {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        border-bottom: 1px solid #ddd;
        padding: 10px 0 !important;
    }

    h1, h2, p {
        color: black !important;
        text-shadow: none !important;
    }

    input, select, textarea {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }

    .dynamic-entry {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        margin: 10px 0 !important;
        page-break-inside: avoid;
    }

    .add-btn, .remove-btn {
        display: none !important;
    }

    .tooltip {
        display: none !important;
    }

    a {
        text-decoration: none !important;
        color: black !important;
    }

    .form-step:last-child {
        page-break-after: auto;
    }
}