/* Ogy Sjednávač Styles */

#ogy-sjednavac-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.ogy-sjednavac-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ogy-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .ogy-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.ogy-input-container {
    display: flex;
    flex-direction: column;
}

.ogy-input-container label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

.ogy-input-field {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f9f9f9;
}

.ogy-input-field:focus {
    outline: none;
    border-color: #0066cc;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ogy-input-field.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.ogy-error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.ogy-error-message.show {
    display: block;
}

.ogy-button-container {
    text-align: center;
    margin-top: 40px;
}

.ogy-submit-button {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    font-size: 22px;
    font-weight: 700;
    padding: 20px 60px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ogy-submit-button:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.ogy-submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.ogy-submit-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading overlay */
.ogy-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ogy-loading-content {
    text-align: center;
}

.ogy-loading-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Spinner animation */
.ogy-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #0066cc;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
