/* 
 * Drone Registration Wizard - Style dla kreatora formularza
 * Wersja: 1.0.1
 */

.drone-wizard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Kreator kroków */
.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step.active {
    display: block;
}

.wizard-step-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.wizard-header {
    text-align: center;
    margin-bottom: 40px;
}

.wizard-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.wizard-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Grid 2 kolumny na desktop */
.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Karty opcji */
.option-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: #1A4EA2;
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.1);
}

.option-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #f0f8ff;
    border-radius: 0 0 0 60px;
    transition: all 0.3s ease;
}

.option-card:hover::after {
    background: #FDB613;
    width: 70px;
    height: 70px;
}

.option-icon {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1;
    text-align: center;
}

.option-content {
    flex: 1;
    margin-bottom: 25px;
}

.option-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.option-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.option-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.option-features li {
    font-size: 14px;
    color: #555;
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}

.option-features li span {
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.option-action {
    text-align: center;
    margin-top: auto;
}

.option-btn {
    width: 100%;
    padding: 15px;
    background: #1A4EA2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: #FDB613;
    color: #000;
    transform: translateY(-1px);
}

/* Przycisk wstecz */
.wizard-back-btn {
    background: #FDB613;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wizard-back-btn:hover {
    background: #123670;
    color: white;
    transform: translateX(-3px);
}

/* Kontener formularza */
.form-container {
    margin-top: 20px;
    min-height: 300px;
}

.loading-state {
    text-align: center;
    padding: 60px;
}

.loading-state .spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1A4EA2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.preloader-content .spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1A4EA2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}


.loading-state p {
    color: #666;
    font-size: 16px;
}

/* Komunikaty */
.wizard-messages {
    margin-top: 20px;
}

.wizard-messages .success,
.wizard-messages .error {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.wizard-messages .success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wizard-messages .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.error-message h3 {
    color: #721c24;
    margin-top: 0;
}

.error-message p {
    color: #721c24;
    margin-bottom: 20px;
}

/* Responsywność */
@media (max-width: 992px) {
    .wizard-options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wizard-step-content {
        padding: 30px;
    }
    
    .option-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .drone-wizard-container {
        padding: 10px;
    }
    
    .wizard-step-content {
        padding: 20px;
    }
    
    .wizard-title {
        font-size: 24px;
    }
    
    .wizard-description {
        font-size: 14px;
    }
    
    .option-icon {
        font-size: 40px;
    }
    
    .option-title {
        font-size: 20px;
    }
    
    .option-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .wizard-step-content {
        padding: 15px;
    }
    
    .wizard-title {
        font-size: 22px;
    }
    
    .option-card {
        padding: 20px;
    }
    
    .option-features li {
        font-size: 13px;
    }
}

/* Animacje */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.info-section {
border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.info-section:hover {
    border-color: #1A4EA2;
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.1);
}

/* Style  dla formy */


.course-details {
    padding: 0;
    margin: 20px 0 0 0;
    font-size: 14px;
    color: #555;
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
}
}

.form-submit .button {
    background: #1A4EA2;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}


.form-submit .button:hover {
    background: #FDB613;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.button.organizer-verify-btn:hover {
    background-color: #FDB613;
    border-color: rgba(0, 0, 0, .05);
    color: #000;
}

html {
  scroll-behavior: smooth;
}

.google-calendar-btn:hover {
    background-color: #FDB613 !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}