﻿
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    padding: 14px;
    position: relative;
}

.checkbox-as-textbox {
    width: calc(2.25rem + 2px); /* same as form-control height */
    height: calc(2.25rem + 2px); /* same as form-control height */
    margin-top: 0; /* optional, adjust if needed */
    vertical-align: middle;
}

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/img2.jpg');
        background-size: cover;
        background-position: center;
        filter: blur(2px);
        z-index: -1;
    }


h2 {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    text-align: center;
}

/* Card design */
.card, .panel.card-body {
    border-radius: 15px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.3);
    position: relative;
}

    .card::before, .panel.card-body::before {
        content: "";
        display: block;
        height: 8px;
        background: linear-gradient(90deg, #ff6a00, #ee0979);
        width: 100%;
    }

/* Form labels */
.form-label {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* Input fields */
.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    transition: 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: #667eea;
        box-shadow: 0px 0px 8px rgba(102, 126, 234, 0.6);
    }

/* Validation messages */
.text-danger {
    font-size: 0.85rem;
    margin-top: 2px;
    display: block;
    height: 20px;
    margin-top: 4px;
    visibility: hidden;
}

    .text-danger:not(:empty) {
        visibility: visible;
    }

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 18px;
    transition: 0.3s ease;
    border: none;
}

.btn-primary, .btn-success {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: white;
}

    .btn-primary:hover, .btn-success:hover {
        opacity: 0.9;
        transform: scale(1.05);
    }

.btn-danger {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
}

    .btn-danger:hover {
        opacity: 0.9;
        transform: scale(1.05);
    }



/* Smart Wizard Navigation */
#smartwizard .nav {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

#smartwizard .nav-link {
    border-radius: 8px;
    margin: 0 5px;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    text-align: center;
}

    #smartwizard .nav-link.active {
        background: linear-gradient(135deg, #ff6a00, #ee0979);
        color: white;
    }

/* Smart Wizard Navigation Buttons */
.sw-btn-next, .sw-btn-prev {
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border: none !important;
}

.sw-btn-next {
    background: linear-gradient(135deg, #ff6a00, #ee0979) !important;
    color: white !important;
}

.sw-btn-prev {
    background: linear-gradient(135deg, #00b09b, #96c93d) !important;
    color: white !important;
    margin-right: 15px !important;
}

/* Step Content */
.p-3 {
    max-height: 70vh;
    overflow-y: auto;
}

/* Required field indicator */
.required-label::after {
    content: " *";
    color: red;
}

/* Icons styling */
.form-label i {
    width: 16px;
    text-align: center;
    margin-right: 5px;
}

/* Form group spacing */
.form-group {
    margin-bottom: 1rem;
}

.row {
    margin-bottom: 15px;
}

/* Custom scrollbar for step content */
.p-3::-webkit-scrollbar {
    width: 6px;
}

.p-3::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.p-3::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    border-radius: 10px;
}


.is-invalid {
    border-color: #dc3545 !important;
}

.step1-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}


/* Responsive  */
@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }

    .p-3 {
        height: auto !important;
        max-height: none;
    }

    #smartwizard .nav-link {
        font-size: 0.8rem;
        padding: 8px 12px;
        margin-bottom: 5px;
    }

    .form-group col-sm-4 {
        margin-bottom: 15px;
    }
}




