/* Main application styles */

/* Global styles */
body {
    min-height: 100vh;
}

.form-check-label {
    cursor: pointer;
}

.form-check-input {
    cursor: pointer;
}

.btn-disabled:disabled {
    background: linear-gradient(90deg, #b0b0b0 0%, #6e6e6e 100%) !important;
    cursor: not-allowed;
    opacity: 0.5;
}

.intro-form-submit-btn {
    min-height: 45px;
    height: 6vh;
}

/* Navigation styles */
.navbar-custom {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 16px rgba(45,144,165,0.1);
    backdrop-filter: blur(10px);
}

.navbar-custom .navbar-brand {
    color: #2d90a5;
    font-weight: 700;
}

.navbar-custom .navbar-brand:hover {
    color: #1a5962;
}

.navbar-custom .nav-link {
    color: #2d90a5;
    font-weight: 500;
}

.navbar-custom .nav-link:hover {
    color: #1a5962;
}

/* Hero section styles */
.survey-hero {
    background: linear-gradient(90deg, #2d90a5 0%, #5ec6d3 100%);
    color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(45,144,165,0.12);
    position: relative;
    overflow: hidden;
}

.survey-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 20px;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.13);
    border-radius: 50%;
    z-index: 0;
}

.survey-hero h1 {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -1px;
}

.survey-hero .lead {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Card styles */
.survey-card {
    box-shadow: 0 2px 16px rgba(45,144,165,0.09);
    transition: transform 0.15s, box-shadow 0.15s;
}

.survey-card:hover {
    box-shadow: 0 8px 32px rgba(45,144,165,0.16);
}

.survey-card .card-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.survey-card .created-date {
    font-size: 0.95rem;
    color: #2d90a5;
    font-weight: 500;
}

/* Button styles */
.btn-primary, .survey-card .btn-primary {
    background: linear-gradient(90deg, #2d90a5 0%, #5ec6d3 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:focus, .btn-primary:active,
.survey-card .btn-primary:focus, .survey-card .btn-primary:active {
    box-shadow: 0 0 0 0.2rem rgba(45,144,165,0.25);
    background: linear-gradient(90deg, #1a5962 0%, #4ab5c4 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #1a5962 0%, #4ab5c4 100%);
    border: none;
}

.btn-check:checked+.gender-btn {
    background: linear-gradient(90deg, #368996 0%, #5ec6d3 100%);
    border: none;
}

.btn-group>.btn-check:checked+.btn-consent {
    background: linear-gradient(90deg, #368996 0%, #5ec6d3 100%);
    border: none;
}

/* Form styles */
.form-control:focus {
    border-color: #2d90a5;
    box-shadow: 0 0 0 0.2rem rgba(45,144,165,0.25);
}

.form-select:focus {
    border-color: #2d90a5;
    box-shadow: 0 0 0 0.2rem rgba(45,144,165,0.25);
}

.form-check-input:checked[type="checkbox"] {
    background-color: #2d90a5;
    border-color: #2d90a5;
}

.form-check-input:focus[type="checkbox"] {
    border-color: #2d90a5;
    box-shadow: 0 0 0 0.2rem rgba(45, 144, 165, 0.25);
}

.form-check-input:checked[type="radio"] {
    background-color: #2d90a5;
    border-color: #2d90a5;
}

.form-check-input:focus[type="radio"] {
    border-color: #2d90a5;
    box-shadow: 0 0 0 0.2rem rgba(45, 144, 165, 0.25);
}

/* Company info styles */
.company-info-block {
    background: #fff;
    box-shadow: 0 2px 16px rgba(45,144,165,0.07);
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.company-info-title {
    color: #2d90a5;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.go-to-site-block {
    background: linear-gradient(90deg, #2d90a5 0%, #5ec6d3 100%);
    color: #fff;
    box-shadow: 0 2px 16px rgba(45,144,165,0.13);
    text-align: center;
}

.go-to-site-block a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    font-size: 1.15rem;
}

.go-to-site-block a:hover {
    color: #e3f6fa;
}

/* User welcome styles */
.user-welcome {
    background: rgba(45,144,165,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(45,144,165,0.2);
}

/* Utility classes */
.survey-btns, .admin-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.intro-form-age {
    text-align: center;
}

/* Responsive styles */
@media (max-width: 600px) {
    .survey-hero { 
        padding: 1.2rem 0.7rem 1.2rem 0.7rem; 
    }
}

@media (max-width: 768px) {
    .admin-btns {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .admin-btns > div {
        justify-content: center;
    }
} 

@media (max-width: 1400px) {
    .intro-form-age {
        min-height: 25dvh;
        font-size: clamp(14px, 25dvw, 140px);
    }

    .intro-form-consent {
        margin-left: 0px;
    }

    .intro-form-consent-text {
        font-weight: 300;
        font-size: clamp(13px, 4vw, 20px);
    }
} 