﻿/* NAVBAR */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* BORDER UTILITIES */
.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* FOOTER */
button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* CARD */
.card {
    /* max-width: 500px; */
    border-radius: 10px;
}

/* FORM ELEMENTS */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #2d3748;
        font-size: 14px;
        font-weight: 500;
    }

/* Osiguravamo da se wrapper širi da prihvati i grešku */
.input-wrapper {
    position: relative;
    display: flex; /* Dodato */
    flex-direction: column; /* Dodato: da elementi idu jedan ispod drugog */
}

    /* Ikonicu moramo malo bolje fiksirati jer smo promenili display u flex */
    .input-wrapper i {
        position: absolute;
        left: 15px;
        top: 22px; /* Prilagodi ovo dok ne bude na sredini visine INPUTA, a ne celog wrappera */
        transform: translateY(-50%);
        color: #718096;
        z-index: 10; /* Da bude iznad inputa */
    }

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Levi padding zbog ikonice */
    /*border: none;*/
    border-radius: 10px;
    background-color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.3);
    }

/* LOGIN BUTTON */
.btn-login {
    width: 100%;
    padding: 14px;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

    .btn-login:hover {
        background-color: #1d4ed8;
    }

.btn-register {
    width: 100%;
    padding: 14px;
    background-color: #38a169; /* Zeleni dugme za registraciju */
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

    .btn-register:hover {
        background-color: #2f855a;
    }

.btn-forgot-password {
    width: 100%;
    padding: 14px;
    background-color: #f59e0b; /* Žuti dugme za reset lozinke */
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

    .btn-forgot-password:hover {
        background-color: #d97706;
    }

.btn-reset-password {
    width: 100%;
    padding: 14px;
    background-color: #f59e0b; /* Žuti dugme za reset lozinke */
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

    .btn-reset-password:hover {
        background-color: #d97706;
    }

/* LOGIN CARD */
.main-card {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* PAGE BODY */
body {
    /* background-image: url('...'); */
    /* background-size: cover;
       background-position: center;
       background-repeat: no-repeat; */
    /* height: 100vh; */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .main-card {
        /*        margin: 20px;
        padding: 30px 20px;*/
    }
}

@media screen and (max-width: 767px) {
    input, select, textarea {
        font-size: 16px !important;
    }
}