/* style.css za registraciju - FINALNA VERZIJA */

/* Osnovni stilovi i pozadina */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.gradient-pozadina {
    background: linear-gradient(to right, #d81e3f, #8a49c2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 0;
}

.container {
    width: 100%;
    padding: 20px;
}

/* Stil za glavnu kutiju forme - SA EFEKTOM */
.form-box {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    color: #cbd5e0;

    /* "Glassmorphism" efekt */
    background: rgba(31, 33, 40, 0.75); /* Polu-prozirna tamna pozadina */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Podrška za Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.form-header {
    text-align: center;
    margin-bottom: 10px;
}

.form-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 1px solid #3c3f4c;
}

/* Stilovi za logo i podnaslov */
.form-header .logo-large {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 25px 0 15px 0;
}

.form-header .subtitle {
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Stil za polja za unos */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #a0aec0;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: #2d3748;
    border: 1px solid #4a5568;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

.input-group input::placeholder {
    color: #718096;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 2px rgba(49, 130, 206, 0.5);
}

/* Stil za checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.checkbox-container label {
    font-size: 14px;
    color: #a0aec0;
}

.checkbox-container a {
    color: #3182ce;
    text-decoration: none;
}
.checkbox-container a:hover {
    text-decoration: underline;
}

/* Stil za dugme i linkove */
.submit-button {
    width: 100%;
    padding: 14px;
    background-color: #3182ce;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #2b6cb0;
}

.toggle-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #a0aec0;
}

.toggle-link a {
    color: #3182ce;
    font-weight: bold;
    text-decoration: none;
}

.toggle-link a:hover {
    text-decoration: underline;
}