﻿:root {
    --primary: #0070f3;
    --primary-foreground: #ffffff;
    --secondary: #f5f5f5;
    --secondary-foreground: #111111;
    --background: #ffffff;
    --foreground: #111111;
    --card: #ffffff;
    --card-foreground: #111111;
    --border: #e5e5e5;
    --input: #ffffff;
    --ring: #0070f3;
    --radius: 0.5rem;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.frost-card {
    overflow: hidden;
    margin: 0 !important;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(10px) saturate(250%);
    backdrop-filter: blur(10px) saturate(250%);
    position: absolute;
    height: 90%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
}

body {
    background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
    min-height: 100vh;
    font-family: system-ui, -apple-system, sans-serif;
}

.card {
}

.nav-pills .nav-link {
    color: var(--foreground);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
        background-color: var(--primary);
        color: var(--primary-foreground);
    }

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.nav-link.active .step-circle {
    background-color: var(--primary-foreground);
    color: var(--primary);
}

.form-control, .form-select {
    border-color: var(--border);
    border-radius: var(--radius);
}

    .form-control:focus, .form-select:focus {
        border-color: var(--ring);
        box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.1);
    }

.btn {
    border-radius: var(--radius);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--primary-foreground);
}

    .btn-primary:hover {
        background-color: #0060df;
        border-color: #0060df;
    }

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--secondary-foreground);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .border-end {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
    }
}
.input-type-b, .input-type-c {
    display: none;
}
@media (max-width: 576px) {
    h4 {
        font-size: 0.9rem !important;
    }

    .h5 {
        font-size: 0.8rem !important;
    }
    body, #addEducationModal {
        padding-right: 0px !important;
    }
}
@media (min-width: 576px) {
    h4 {
        font-size: 1rem !important;
    }

    .h5 {
        font-size: 1rem !important;
    }
    .custom-max-height {
        max-height: inherit;
    }

    .custom-min-height {
        min-height: 100%;
    }

    .custom-min-width {
        min-width: 100%;
    }

    .remove-modal-icon {
        font-size: 5rem;
        color: #adb5bd;
    }

    .custom-width-400 {
        width: 400px;
    }

    .custom-height-100 {
        height: 100px;
    }

    .custom-text-align-justify {
        text-align: justify;
    }

    .custom-display-none {
        display: none;
    }

    .custom-img-size {
        width: 9rem;
        height: 8rem;
        max-height: 8rem;
        max-width: 9rem;
    }

    /* Base image transition */
    .zoom-on-hover {
        transition: transform 0.3s ease;
        transform-origin: center center;
    }

        /* Hover zoom for desktop */
        .zoom-on-hover:hover {
            transform: scale(2);
            cursor: pointer;
            z-index: 2000;
        }

    /* --- Responsive Adjustments for Mobile --- */
    @media (max-width: 576px) {
        .custom-img-size {
            width: 0.8rem;
            height: 0.5rem;
            max-width: 0.8rem;
            max-height: 0.5rem;
        }

        /* Reduce zoom to prevent layout breaking on small screens */
        .zoom-on-hover:hover {
            transform: scale(1.3);
        }
        .custom-width-400 {
            width: 100px;
        }
    }

}