/* OSNOVNI STILOVI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* JEZIČKE PREKIDAČE */
.language-switcher {
    text-align: right;
    margin-bottom: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid #007cba;
    color: #007cba;
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.lang-btn.active {
    background: #007cba;
    color: white;
}

.lang-btn:hover {
    background: #005a87;
    color: white;
}

/* NASLOV */
h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2.2em;
}

/* FORMA */
.booking-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
}

input, select, textarea {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* CAPTCHA STILOVI */
.captcha-container {
    margin: 25px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 20px;
    font-weight: bold;
}

#captchaQuestion {
    padding: 12px 20px;
    background: white;
    border: 2px solid #007cba;
    border-radius: 8px;
    min-width: 120px;
    text-align: center;
    font-size: 22px;
    color: #2c3e50;
}

#refreshCaptcha {
    background: none;
    border: 2px solid #007cba;
    color: #007cba;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

#refreshCaptcha:hover {
    background: #007cba;
    color: white;
}

#captcha_input {
    width: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

/* DUGMAD */
.submit-btn {
    background: #28a745;
    color: white;
    padding: 18px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    font-weight: bold;
}

.submit-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* PORUKE */
.message {
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-size: 16px;
    font-weight: bold;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    body {
        padding: 40px 20px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .captcha-display {
        flex-direction: column;
        gap: 10px;
    }
    
    #captcha_input {
        width: 100%;
    }
}