* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #056905 0%, #0a8f0a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(5, 105, 5, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #056905, #0a8f0a, #056905);
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #056905, #0a8f0a);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    box-shadow: 0 8px 20px rgba(5, 105, 5, 0.3);
}

h1 {
    color: #056905;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    display: block;
    color: #056905;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

input[type="text"]:focus {
    outline: none;
    border-color: #056905;
    background: white;
    box-shadow: 0 0 0 3px rgba(5, 105, 5, 0.1);
}

.validate-error {
    color: red;
    font-size: 0.6rem;
    font-style: italic;
    font-weight: 500;
}

.submit-btn {
    background: linear-gradient(135deg, #056905, #0a8f0a);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 105, 5, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.info-text {
    color: #777;
    font-size: 12px;
    margin-top: 20px;
    line-height: 1.4;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    color: #056905;
    font-size: 12px;
    margin-top: 15px;
    font-weight: 500;
}

.security-badge::before {
    content: "\1F512";
    margin-right: 5px;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 25px;
        margin: 10px;
    }

    h1 {
        font-size: 22px;
    }
}

.flash-message {
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 12px 0;
    animation: flash 1.2s ease-in-out infinite alternate;
}

.flash-message.urgent {
    background-color: #ffe5e5;
    color: #a80000;
    border: 1px solid #ff4d4d;
}

.flash-message.info {
    background-color: #e8f2ff;
    color: #1e4f8a;
    border: 1px solid #b6d4fe;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Flashing effect */
/*@keyframes flash {
    from {
        box-shadow: 0 0 0 rgba(255, 77, 77, 0.4);
    }

    to {
        box-shadow: 0 0 12px rgba(255, 77, 77, 0.8);
    }
}*/
