/* ============================================================
   OSVOJI PUT U LONDON — Bombay Sapphire (svijetla tema)
   ============================================================ */

/* Layout */
body {
    background: transparent;
    margin-top: 10px;
    color: #1a2b52;
}
.container { max-width: 800px; }

/* Labele */
label,
.custom-control-label {
    color: #1a2b52;
    font-weight: 500;
}

/* Input polja — bijela pozadina, safir tekst */
.form-control {
    background-color: #ffffff;
    border: 1px solid rgba(26, 43, 82, 0.2);
    border-radius: 4px;
    color: #1a2b52;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    background-color: #ffffff;
    border-color: #2e6db4;
    color: #1a2b52;
    box-shadow: 0 0 0 2px rgba(46, 109, 180, 0.15);
}
.form-control::placeholder {
    color: rgba(26, 43, 82, 0.4);
}
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #1a2b52;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Gumb */
.btn-send,
.btn.btn-send,
.btn-success.btn-send {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    padding: 0 40px;
    margin-bottom: 20px;
    margin-top: 8px;
    box-shadow: none;
    outline: none;
    background-color: #1a2b52;
    color: #ffffff;
    border-radius: 4px;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-send:hover, .btn-send:active, .btn-send:focus,
.btn.btn-send:hover, .btn.btn-send:active, .btn.btn-send:focus,
.btn-success.btn-send:hover, .btn-success.btn-send:active, .btn-success.btn-send:focus {
    background-color: #2e6db4;
    color: #ffffff;
    opacity: 1;
    border: none;
}
.btn-send:active { transform: translateY(1px); }
.btn-send:disabled { opacity: 0.6; cursor: wait; }

/* Checkbox */
.custom-control-label::before {
    background-color: #ffffff;
    border: 1px solid rgba(26, 43, 82, 0.35);
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #2e6db4;
    border-color: #2e6db4;
}
.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 2px rgba(46, 109, 180, 0.25);
}
.custom-control-label a {
    color: #2e6db4;
    text-decoration: underline;
    text-decoration-color: rgba(46, 109, 180, 0.4);
}
.custom-control-label a:hover {
    color: #2e6db4;
    text-decoration-color: #2e6db4;
}

/* Greške */
.help-block.with-errors {
    color: #d0342c;
    font-size: 13px;
    margin-top: 4px;
}
.has-error .form-control,
.has-danger .form-control {
    border-color: #d0342c;
}

/* File upload */
.custom-file-label {
    background-color: #ffffff;
    border: 1px solid rgba(26, 43, 82, 0.2);
    color: #1a2b52;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    border-radius: 4px;
}
.custom-file-label::after {
    content: "Dodaj";
    background-color: #2e6db4;
    color: #ffffff;
    border: none;
    font-weight: 600;
}
.custom-file-input:focus ~ .custom-file-label {
    border-color: #2e6db4;
    box-shadow: 0 0 0 2px rgba(46, 109, 180, 0.15);
}
.custom-file { display: flex; align-items: center; }
.input-group-append { flex-shrink: 0; }

/* Cancel upload button */
.btn-outline-secondary {
    color: #1a2b52;
    border-color: rgba(26, 43, 82, 0.25);
    background-color: transparent;
}
.btn-outline-secondary:hover {
    background-color: rgba(26, 43, 82, 0.06);
    border-color: rgba(26, 43, 82, 0.4);
    color: #1a2b52;
}

/* Drag & drop area */
#drag-and-drop-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 60px;
    border: 2px dashed rgba(46, 109, 180, 0.3);
    border-radius: 4px;
    text-align: center;
    color: rgba(26, 43, 82, 0.5);
    background-color: rgba(46, 109, 180, 0.03);
    transition: all 0.2s;
}
#drag-and-drop-area.dragover {
    background-color: rgba(46, 109, 180, 0.1);
    border-color: #2e6db4;
    color: #1a2b52;
}
#drag-and-drop-area.uploaded {
    background-color: rgba(46, 109, 180, 0.08);
    border-color: #2e6db4;
    color: #2e6db4;
}

/* Alert poruke */
.alert {
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 16px;
    border: 1px solid;
}
.alert h4 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; }
.alert-success {
    background-color: rgba(46, 109, 180, 0.08);
    border-color: #2e6db4;
    color: #1a2b52;
}
.alert-danger {
    background-color: rgba(208, 52, 44, 0.08);
    border-color: #d0342c;
    color: #d0342c;
}
.alert .close {
    background: none; border: none; color: inherit; opacity: 0.6;
    font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.alert .close:hover { opacity: 1; }
