:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --success-color: #38b000;
}

html {
    overflow-y: scroll; 
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    padding-top: 70px;

    padding-right: 0 !important; 
    transition: padding-right 0.3s ease; 
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Navbar - isti kao na pocetnoj */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar-backBtn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.backBtn-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.backBtn-icon-circle svg {
    width: 18px;
    height: 18px;
    color: var(--dark-color);
}

.backBtn-icon-circle:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .backBtn-icon-circle {
        width: 36px;
        height: 36px;
    }
    
    .backBtn-icon-circle svg {
        width: 16px;
        height: 16px;
    }
}

.navbar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-icon-circle svg {
    width: 18px;
    height: 18px;
    color: var(--dark-color);
}

.menu-icon-circle:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .menu-icon-circle {
        width: 36px;
        height: 36px;
    }
    
    .menu-icon-circle svg {
        width: 16px;
        height: 16px;
    }
}

/* .navbar-brand img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */

.navbar-collapse {
    flex-grow: 0; 
}

.navbar > .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 8px;
    position: relative;
    padding: 8px 12px !important;
}
  
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
  
.nav-link:hover:after {
    width: 100%;
}
  
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}
  
.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Login Section */
.login-section {
    padding: 80px 0;
    height: 100vh;
}

.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

.login-title {
    color: var(--dark-color);
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.login-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.btn-continue {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.form-check-label {
    color: #666;
    user-select: none;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
}

.social-divider::before,
.social-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.social-divider::before {
    margin-right: 15px;
}

.social-divider::after {
    margin-left: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-btn.google {
    background-color: #DB4437;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer - isti kao na pocetnoj */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}
  
.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}
  
.footer-links h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
  
.footer-links h5:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
}
  
.footer-links ul {
    list-style: none;
    padding: 0;
}
  
.footer-links li {
    margin-bottom: 10px;
}
  
.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}
  
.footer-links a:hover {
    color: white;
    padding-left: 5px;
}
  
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}
  
.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}
  
.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .login-card {
        padding: 30px 20px;
    }
    
    /* .navbar-brand img {
        height: 40px;
    } */
}

/* Popup Menu */
body.menu-open {
    overflow: hidden;
    padding-right: 17px; 
}

.popup-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.popup-menu.show {
    right: 0;
}

.popup-menu-content {
    padding: 60px 20px 20px;
    height: 100%;
}

.popup-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-menu ul li {
    margin-bottom: 15px;
}

.popup-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.popup-menu ul li a:hover {
    color: #0d6efd;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.overlay.show {
    display: block;
}