html {
    scroll-behavior: smooth;
}

/* Reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Navbar stilovi */
.navbar {
    background: white;
    padding: 0.8rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo stilovi */
.nav-logo {
    flex-shrink: 0;
}

.logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigacijska lista */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
    background-color: #f8f9fa;
}

/* Dugme */
.nav-button {
    flex-shrink: 0;
}

.cta-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

/* Animacije */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero sekcija */
.hero {
    padding: 80px 0 40px 0;
    background: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.hero-content {
    flex: 1;
    max-width: 500px;
    animation: fadeInLeft 1s ease-out;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-btn {
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn.primary {
    background: #007bff;
    color: white;
}

.hero-btn.primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.hero-btn.secondary {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.hero-btn.secondary:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    animation: scaleIn 1.2s ease-out 0.6s both;
}

/* Features sekcija */
.features {
    padding: 40px 0;
    padding: 80px 0;
    background: white;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

.feature-card {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #FFE5B4 0%, #FFD700 100%);
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.feature-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 1.2rem;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(8deg);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #8B4513;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-card:hover h3 {
    color: #654321;
}

.feature-card p {
    font-size: 0.95rem;
    color: #8B7355;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Pricing sekcija */
.pricing {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 2.2rem;
    margin-bottom: 1.2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.info-card {
    background: linear-gradient(135deg, #f8fafc 60%, #e9ecef 100%);
    padding: 1.5rem 1.1rem 1.1rem 1.1rem;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(44,62,80,0.09);
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1.5px solid #e5e7eb;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.info-card:hover {
    box-shadow: 0 12px 36px rgba(44,62,80,0.18);
    transform: translateY(-7px) scale(1.015);
    border-color: #2563eb33;
}

.info-card h3 {
    font-size: 1.13rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.7rem;
    letter-spacing: -0.5px;
    border-bottom: 1.5px solid #e5e7eb;
    padding-bottom: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.info-card p {
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.7rem;
    font-size: 0.98rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.7rem 0;
}

.info-card ul li {
    font-size: 1.04rem;
    padding: 0.45rem 0 0.45rem 2.1rem;
    color: #232323;
    position: relative;
    font-weight: 500;
    border-bottom: 1px solid #f1f3f4;
    letter-spacing: -0.2px;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.info-card ul li::before {
    content: '\2714';
    position: absolute;
    left: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #22c55e;
    font-size: 1.35rem;
    font-weight: bold;
    filter: drop-shadow(0 1px 2px #b6f5c7);
}

.info-card a {
    color: #2563eb;
    display: inline-block;
    margin: 0.8rem 0 0.3rem 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.info-card a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.info-card .extra-info, .info-card div[style*='color:#6c757d'] {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.5rem 0.7rem;
    color: #6c757d !important;
    font-size: 0.92rem;
    margin-top: 0.7rem;
    border-left: 3px solid #2563eb22;
}

.info-card .extra-success, .info-card span[style*='color:#28a745'] {
    background: #e7fbe9;
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    color: #22c55e !important;
    font-size: 0.92rem;
    margin-top: 0.7rem;
    display: inline-block;
    border-left: 3px solid #22c55e33;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
}

.extra-flex-success {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.7rem;
    justify-content: flex-start;
    align-items: center;
}

.extra-flex-success .extra-success {
    background: #eafbe7;
    color: #249c4a !important;
    border-radius: 20px;
    padding: 0.25rem 0.9rem;
    font-size: 0.93rem;
    font-weight: 500;
    border-left: none;
    border: 1px solid #b6eac2;
    box-shadow: 0 1px 4px #eafbe7;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    min-width: unset;
    width: auto;
    text-align: left;
    letter-spacing: 0;
}

.extra-flex-success .extra-success::before {
    content: '\2714';
    color: #22c55e;
    font-size: 1.1em;
    margin-right: 0.3em;
    font-weight: bold;
}

.pricing-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.footer-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.footer-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.footer-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.pricing-header p {
    font-size: 1rem;
    color: #6c757d;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #FFD700;
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(255, 215, 0, 0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
}

.period {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.features-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f3f4;
    color: #6c757d;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1rem;
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

.pricing-btn.featured {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.pricing-btn.featured:hover {
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

@media (max-width: 900px) {
    .pricing-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    .info-card {
        max-width: 100%;
    }
}

/* Responsive dizajn za navbar */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-logo {
        flex: 1;
    }
    
    .nav-button {
        flex-shrink: 0;
    }
    
    .cta-button {
        padding: 0.5rem 1.4rem;
        font-size: 0.85rem;
    }
    
    .logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .cta-button {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .logo {
        height: 30px;
    }
}

/* Responsive dizajn za hero sekciju */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px 0;
    }
    
    .hero-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 250px;
    }
} 

/* Responsive dizajn za features */
@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        width: 280px;
        height: 280px;
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        min-height: 250px;
    }
} 

/* Responsive dizajn za pricing */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-header h2 {
        font-size: 2rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-container {
        padding: 0 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-header h2 {
        font-size: 1.8rem;
    }
    
    .amount {
        font-size: 2rem;
    }
} 

@media (max-width: 600px) {
    .extra-flex-success {
        flex-direction: column;
        gap: 0.4rem;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .extra-flex-success .extra-success {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
    }
} 

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card-main {
    flex: 1 1 auto;
}

.info-card-bottom {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
} 

.contact {
    padding: 70px 0 60px 0;
    background: #f8fafc;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-container h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.contact-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(44,62,80,0.09);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 220px;
    max-width: 300px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
    border: 1.5px solid #e5e7eb;
}

.contact-card:hover {
    box-shadow: 0 10px 32px rgba(44,62,80,0.16);
    transform: translateY(-6px) scale(1.03);
    border-color: #2563eb33;
}

.contact-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.contact-info {
    font-size: 1.05rem;
    color: #232323;
    word-break: break-all;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 800px) {
    .contact-cards {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
    .contact-card {
        max-width: 400px;
        width: 100%;
    }
} 

@media (max-width: 600px) {
    .pricing-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        max-width: 100%;
    }
    .info-card {
        max-width: 95vw;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-radius: 12px;
        padding: 1.1rem 0.7rem 0.9rem 0.7rem;
    }
    .info-card h3 {
        font-size: 1rem;
    }
    .info-card ul li {
        font-size: 0.95rem;
    }
} 

@media (max-width: 900px) {
    .logo {
        height: 40px;
        max-width: 150px;
        padding: 4px 0;
        object-fit: contain;
    }
    .nav-logo {
        padding-right: 0.7rem;
        padding-left: 0.2rem;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .logo {
        height: 32px;
        max-width: 110px;
        padding: 2px 0;
    }
    .nav-logo {
        padding-right: 0.3rem;
        padding-left: 0.1rem;
    }
} 

/* LOGIN STRANICA */
.login-body {
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: none;
    border: 2px solid #222;
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    max-width: 440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1.1rem;
}
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.login-form label {
    font-size: 0.98rem;
    color: #232323;
    margin-bottom: 0.1rem;
    font-weight: 600;
    margin-top: 0.4rem;
}
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1.1rem;
    border-radius: 6px;
    border: 1.5px solid #bfc3c9;
    font-size: 1.08rem;
    outline: none;
    transition: border 0.2s;
    margin-top: 0.2rem;
    margin-bottom: 0.4rem;
}
.login-form input:focus {
    border-color: #2563eb;
}
.login-form .login-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
    margin-bottom: 0.7rem;
}
.login-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1a2a5a;
}
.login-btn {
    background: #10296b;
    color: white;
    border: none;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.7rem;
    width: 100%;
    letter-spacing: 0.5px;
}
.login-btn:hover {
    background: #1a2a5a;
    transform: translateY(-2px) scale(1.02);
}
@media (max-width: 600px) {
    .login-container {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        max-width: 98vw;
    }
    .login-logo {
        width: 54px;
        height: 54px;
    }
    .login-btn {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
} 

/* Error message stilovi */
.error-message {
    color: #dc3545;
    text-align: center;
    margin-bottom: 15px;
    padding: 12px 16px;
    background-color: #f8d7da;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Disabled button stilovi */
.login-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.login-btn:disabled:hover {
    background: #6c757d;
    transform: none;
} 

/* --- VJEŽBA CARD --- */
.exercise-card {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px 28px 28px 28px;
    max-width: 370px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 450px;
    align-items: center;
}
.exercise-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.exercise-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    margin-bottom: 8px;
}
.exercise-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}
.exercise-col label {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #222;
    text-align: center;
}
.exercise-col input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    text-align: center;
}
.exercise-wizard {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 48px;
}
.exercise-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.exercise-input label {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    margin-bottom: 2px;
}
.exercise-input input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}
.exercise-btn {
    background: #43b047;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
.exercise-btn:hover {
    background: #36913a;
}
@media (max-width: 500px) {
    .exercise-card {
        padding: 18px 6px 16px 6px;
        max-width: 98vw;
    }
    .exercise-row {
        gap: 8px;
    }
    .exercise-col input {
        width: 48px;
        font-size: 14px;
    }
    .exercise-input input {
        font-size: 14px;
    }
    .exercise-btn {
        font-size: 15px;
        padding: 10px 0;
    }
} 

.main-content,
.zadaca-main {
    margin-left: unset !important;
} 

.main-content.zadaca-main {
    display: block;
    justify-content: unset;
} 

.centered-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.centered-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar {
    width: 220px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
    /* Ostali sidebar stilovi */
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    margin-left: 220px;
    width: calc(100% - 220px);
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
} 

.ranking-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 8px;
    padding: 0;
} 

.rank-list-container {
    width: 100%;
    /* max-width: 600px;  uklonjeno */
    /* margin: 0 auto;    uklonjeno */
    margin-left: 200px;
    margin-right: auto;
}
.rank-row {
    border-radius: 12px;
    padding: 14px 22px;
    font-size: 1.05rem;
    min-height: 38px;
}
.rank-pos {
    flex: 0 0 54px;
}
.rank-badge {
    padding: 4px 16px;
    font-size: 1em;
    min-width: 32px;
}
.rank-name {
    padding-left: 12px;
    font-size: 1em;
}
.rank-points {
    flex: 0 0 38px;
}
.rank-points-badge {
    padding: 4px 8px;
    font-size: 1em;
    min-width: 24px;
} 

.app-dashboard-container {
    width: 700px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .main-content {
        margin-left: 0;
    }
    .app-dashboard-container {
        width: 100%;
        min-width: unset;
    }
} 

.exercise-card {
    margin-left: 450px;
}
@media (max-width: 1200px) {
    .exercise-card {
        margin-left: 250px;
    }
}
@media (max-width: 900px) {
    .exercise-card {
        margin-left: 100px;
    }
}
@media (max-width: 600px) {
    .exercise-card {
        margin-left: 0;
    }
} 

@media (min-width: 1800px) {
    .exercise-card {
        margin-left: 650px;
    }
} 

/* Samo za /app - savršeno centriranje .app-dashboard-container */
body.app-page .main-content {
    display: block;
    align-items: unset;
    justify-content: unset;
}
body.app-page .app-dashboard-container {
    position: absolute;
    left: calc(50% + 120px);
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    margin: 0;
    max-width: unset;
}
@media (max-width: 900px) {
    body.app-page .app-dashboard-container {
        position: static;
        left: unset;
        transform: unset;
        width: 100%;
        min-width: unset;
    }
}
/* Ukloni automatsko centriranje i širinu iz defaultnog .app-dashboard-container */
.app-dashboard-container {
    width: unset;
    margin: unset;
    max-width: unset;
} 

@media (max-width: 600px) {
    .app-dashboard-row {
        flex-direction: column !important;
        gap: 18px !important;
        align-items: stretch !important;
    }
    .app-dashboard-row > div:nth-child(2) {
        flex-direction: column !important;
        gap: 18px !important;
        align-items: stretch !important;
        width: 100%;
    }
} 