﻿body {
    background-color: #F8F5F0;
    margin: 0;
    font-family: 'Nunito Sans', sans-serif;
    color: #007552;
}

p a {
    color: #007552;
    text-decoration: underline;
    font-weight: 500;
   
}

p a:hover {
    color: #05976b;
    text-decoration: underline;
    font-weight: 500;
}

h1,h2,h3,h4,h5,h6 {
    color: #007552;
    line-height: 1.4;
    font-weight: 300;
}

h1 {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.login-container {
    background-color: #F8F5F0;
    padding: 40px;
    border-radius: 1em;
    width: 100%;
    max-width: 450px;
    text-align: center;
    margin: 2rem auto;
}

.login-title {
    font-family: 'Nunito Sans', sans-serif;
    color: #2E593F;
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-weight: normal;
}

.login-subtitle {
    color: #2E593F;
    font-size: 1em;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 1em;
}

.form-group label {
    color: #2E593F;
}

.form-control {
    border: 0;
    background-color: #FFFFFF;
    font-size: 1em;
    color: #333;
    border-radius: 16px;
    background: #fff;
    box-shadow: 26px 54px 17px 0px rgba(0, 0, 0, 0.00), 17px 34px 15px 0px rgba(0, 0, 0, 0.01), 9px 19px 13px 0px rgba(0, 0, 0, 0.05), 4px 9px 10px 0px rgba(0, 0, 0, 0.09), 1px 2px 5px 0px rgba(0, 0, 0, 0.10);
}

.form-control:focus {
    border-color: #4A907A;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 122, 0.25);
    outline: none;
}

.btn-primary {
    background-color: #4A907A;
    color: #FFFFFF;
    border: none;
    padding: 15px 25px;
    font-size: 1.1em !important;
    font-weight: 400;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 16px;
    background: linear-gradient(270deg, #007552 0%, #18955D 100%), #007552;
    box-shadow: 26px 54px 17px 0px rgba(0, 0, 0, 0.00), 17px 34px 15px 0px rgba(0, 0, 0, 0.01), 9px 19px 13px 0px rgba(0, 0, 0, 0.05), 4px 9px 10px 0px rgba(0, 0, 0, 0.09), 1px 2px 5px 0px rgba(0, 0, 0, 0.10);
}

.btn-primary:hover {
    animation: shadowPulse 2s infinite;
    transform: translateY(0);
    color: #FFFFFF;
    background-color: #3B7362;
  }
  
  .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8),
               0 0 0 4px rgba(74, 144, 122, 0.8);
    animation: none;
    background-color: #3B7362;
  }

.btn-login:hover {
    background-color: #3B7362;
}

.btn-login .arrow-icon {
    font-size: 1.2em;
}

.btn-danger {
    background-color: #D63384;
    color: #FFFFFF;
    border: none;
    padding: 15px 25px;
    font-size: 1.1em !important;
    border-radius: 16px;
    width: 100%;
    display: block;
    margin-top: 1rem;
}

.btn-danger:hover {
    animation: shadowPulseDanger 2s infinite;
    transform: translateY(0);
    color: #FFFFFF;
    background-color: #D63384;
    text-decoration: none;
  }
  

.login-links {
    margin-top: 25px;
    font-size: 0.9em;
    text-align: left;
}

.login-links p {
    margin-bottom: 8px;
}

.login-links a {
    color: #2E593F;
    text-decoration: none;
    font-weight: 500;
}

.login-links a.register-link {
    text-decoration: underline;
    font-weight: bold;
}

.login-links a:hover {
    text-decoration: underline;
}

header .navbar {
    background-color: #007552 !important;
    box-shadow: none !important;
    border-bottom: none;
}

header .navbar-brand {
    font-family: 'Nunito Sans', sans-serif;
    color: #FFFFFF !important;
    font-size: 1.2rem;
    font-weight: 400;
    min-height: 100px;
    display: flex;
    align-items: center;
}

header .navbar-brand::before {
    content: url('../oskar-logo.svg');
    display: inline-block;
    margin-right: 0.75rem;
    width: 75px;
    height: 35px;
    vertical-align: middle;
    opacity: 0.6;
}

header .nav-link {
    font-family: 'Nunito Sans', sans-serif;
    color: #FFFFFF !important;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 1.5rem !important;
    margin: 0 0.3rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

header .nav-link:hover,
header .nav-link:focus {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

header .nav-link:active {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.3);
}

header .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2846, 89, 63, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

header .navbar-light .navbar-toggler {
    border-color: rgba(46, 89, 63, 0.25);
}

.nav-link:focus, .nav-link:hover {
    color: #007552;
}

.nav-link {
    color: #007552;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #007552;
    border-radius: 1rem;
}

.footer {
    background-color: #F8F5F0;
    color: #2E593F;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.9em;
    border-top: 1px solid #E0DACE;
}

.footer a {
    color: #4A907A;
    font-weight: bold;
}

.footer a:hover {
    color: #2E593F;
}

@keyframes shadowPulse {
  0% {
    box-shadow: 0 0 0 0px rgba(74, 144, 122, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 122, 0);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(74, 144, 122, 0);
  }
}

@keyframes shadowPulseDanger {
  0% {
    box-shadow: 0 0 0 0px rgba(214, 51, 132, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(214, 51, 132, 0);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(214, 51, 132, 0);
  }
}



.display-4 {
    margin-top: 8rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.display-6 {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#login-submit {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

#account .checkbox {
    margin-top: 0.5rem;
    margin-left: 1.3rem;
    margin-bottom: 0.5rem;
}

.form-floating {
    margin-bottom: 1rem;
}

#account .form-floating {
    margin-bottom: 0.5rem;
}

#registerForm .form-floating {
    margin-top: 1rem;
}

.form-check-input:checked {
    background-color: #007552;
    border-color: #007552;
}

#registerSubmit {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.text-muted {
    color: #919191 !important;
}

.footer {
    border-top: none !important;
    color: #007552;
}

.benefit-card-wrapper {
    display: flex;
    padding: 1rem;
}

.benefit-card {
    background-color: #FFFFFF;
    border-radius: 1em;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 6px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 12px 25px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.benefit-card-wrapper:nth-child(1) .benefit-icon {
    background-color: #007552;
}
.benefit-card-wrapper:nth-child(2) .benefit-icon {
    background-color: #007552;
}
.benefit-card-wrapper:nth-child(3) .benefit-icon {
    background-color: #007552;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.benefit-title {
    font-size: 1.4rem;
    color: #007552;
    font-weight: 400;
    margin-bottom: 1rem;
}

.benefit-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.navbar-light .navbar-toggler {
    border-color: #FFFFFF !important;
}


