.static-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #42a5f5;
    font-weight: bold;
}

textarea[name="about"] {
    min-height: 100px;
    max-height: 500px;
    overflow-y: auto;
    resize: none;
    transition: height 0.1s ease-out;
    line-height: 1.5;
    padding: 12px;
}

.custom-file-upload {
    position: relative;
    display: inline-block;
}
.custom-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.custom-file-upload .btn-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #42a5f5, #00aaff);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.custom-file-upload .btn-upload:hover {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}
.custom-file-upload .btn-upload:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.custom-file-upload .btn-upload::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}
.custom-file-upload .btn-upload:hover::before {
    left: 100%;
}
.custom-file-upload .btn-upload i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}
.custom-file-upload .btn-upload:hover i {
    transform: translateY(-2px);
}

.radio-group {
    display: flex;
    gap: 15px;
    margin: 5px 0;
    justify-content: center;
    align-items: center;
    min-height: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 15px;
    background: none;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 0.9rem;
    line-height: 1;
}

.radio-group label:hover {
    background: rgba(66, 165, 245, 0.1);
}

.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #42a5f5;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.radio-group input[type="radio"]:checked {
    border-color: #42a5f5;
}

.radio-group input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #42a5f5;
    border-radius: 50%;
}

.apply-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.apply-form-container h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.apply-form-container > p {
    text-align: center;
    margin-bottom: 2rem;
}

.criteria-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(66, 165, 245, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(66, 165, 245, 0.2);
    display: none;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.criteria-section.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.criteria-section h3 {
    text-align: center;
    color: #42a5f5;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.criteria-checkbox {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(66, 165, 245, 0.05);
    border: 1px solid rgba(66, 165, 245, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.criteria-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #42a5f5;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.criteria-checkbox input[type="checkbox"]:checked {
    background: #42a5f5;
    border-color: #42a5f5;
}

.criteria-checkbox input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.criteria-checkbox label {
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.4;
    color: #b8c7e5;
    user-select: none;
    font-weight: 500;
    margin-left: 8px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 2rem auto !important;
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, #42a5f5, #00aaff) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.4) !important;
    transition: all 0.3s ease !important;
    min-width: 320px !important;
    max-width: 400px !important;
    position: relative !important;
    z-index: 1 !important;
    text-decoration: none !important;
    outline: none !important;
    min-height: 60px !important;
}

.btn:disabled {
    background: linear-gradient(135deg, #ccc, #999) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn:not(:disabled):hover {
    background: linear-gradient(135deg, #ff9800, #ff5722) !important;
    box-shadow: 0 0 30px rgba(255, 98, 0, 0.5) !important;
    transform: scale(1.05) !important;
}

.btn:not(:disabled):active {
    transform: scale(0.98) !important;
    box-shadow: 0 0 15px rgba(255, 98, 0, 0.3) !important;
}

.btn i {
    margin-right: 10px !important;
    font-size: 1.2rem !important;
}

.btn-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 5px !important;
    gap: 2px !important;
}

.btn-text .main-text {
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.btn-text .sub-text {
    font-size: 0.75rem !important;
    opacity: 0.9 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    padding: 0 2px !important;
}

* {
    user-select: none;
}

input, textarea {
    user-select: text;
}

.toggle-group {
    border: none;
    padding: 0;
    margin: 8px 0;
}

.toggle-group legend {
    text-align: center;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1;
}

.spam-notice {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
    background: rgba(66, 165, 245, 0.05);
}

.contact-input-group {
    margin-top: -5px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.contact-input-group.hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.contact-input-group .form-group {
    margin: 0;
}

.contact-input-group input {
    border: 2px solid #42a5f5;
    border-radius: 5px;
    padding: 8px 12px;
    width: 100%;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-input-group input:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

.contact-input-group input::placeholder {
    color: #999;
}

.contact-input-group label {
    color: #42a5f5;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #42a5f5;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.radio-group input[type="radio"]:not(:checked) {
    border-color: #ccc;
}

#success-message, #error-message {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    min-width: 300px;
    max-width: 80%;
}

#success-message {
    background: rgba(76, 175, 80, 0.95);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: #fff;
}

#error-message {
    background: rgba(244, 67, 54, 0.95);
    border: 1px solid rgba(244, 67, 54, 0.2);
    color: #fff;
}

#success-message.hide, #error-message.hide {
        opacity: 0;
}

.skin-preview {
    margin-top: 15px;
    text-align: center;
    display: none;
}

.skin-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skin-preview p {
    margin-top: 5px;
    color: #666;
    font-size: 0.9rem;
}

.gallery-card, .news-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)) !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    will-change: transform !important;
}

.gallery-card:hover, .news-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.gallery-card:active, .news-card:active {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.gallery-card img, .news-card img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    transition: transform 0.3s ease !important;
}

.gallery-card:hover img, .news-card:hover img {
    transform: scale(1.1) !important;
}

.gallery-card h3, .news-card h3 {
    margin: 1rem 0 !important;
    color: #333 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}

.gallery-card p, .news-card p {
    color: #666 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.notification::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

.notification .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    transform-origin: left;
    animation: progress 8s linear forwards;
}

@keyframes progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

.notification.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(46, 125, 50, 0.95));
    border-left: 4px solid #4CAF50;
}

.notification.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.95), rgba(198, 40, 40, 0.95));
    border-left: 4px solid #f44336;
}

.notification-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.notification.success .notification-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.notification.error .notification-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.notification-content {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.notification-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 12px;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.notification-close:active {
    transform: scale(0.95);
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
}

.notification.show {
    animation: glow 2s infinite;
}

.notification.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95), rgba(255, 152, 0, 0.95));
    border-left: 4px solid #ffc107;
}

.notification.warning .notification-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.flash-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.flash-drive {
    position: absolute;
    width: 100px;
    height: 40px;
    background-image: url('images/flash.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
    will-change: transform, left, top;
}

.white-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 1.5s ease-out;
}

.flash-animation.active {
    display: block;
    pointer-events: all;
}

.flash-animation.active * {
    pointer-events: none;
}

@keyframes flashDriveSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(0.95); }
    100% { transform: rotate(360deg) scale(1); }
}

.flash-drive.spinning {
    animation: flashDriveSpin 0.8s linear infinite;
}

.white-overlay.active {
    opacity: 1;
    transition: opacity 0s;
}

.white-overlay.fade-out {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.form-group label.static-label {
    color: #42a5f5;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    display: block;
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 94, 184, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #d9e6ff;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: 'Roboto', 'Montserrat', Arial, sans-serif;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2300aaff" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px 20px;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.form-group select:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: #00aaff;
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.6);
    outline: none;
}

.form-group select:hover {
    border-color: #2196f3;
    background: rgba(255,255,255,0.18);
}

.form-group select option {
    color: #d9e6ff;
    background: #071a3d;
}

body.light-theme .form-group select {
    background: var(--lt-bg-secondary);
    color: var(--lt-text-primary);
    border: 1px solid var(--lt-border-color);
}
body.light-theme .form-group select:focus {
    background: var(--lt-bg-secondary);
    border-color: var(--lt-accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(var(--lt-accent-blue-rgb), 0.25);
}
body.light-theme .form-group select:hover {
    border-color: var(--lt-accent-blue);
    background: #f5faff;
}
body.light-theme .form-group select option {
    color: var(--lt-text-primary);
    background: #fff;
}