/* Tagab, et kõik elemendid ei lähe üle oma piiri */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background-color: #f4f4f4;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px;
}

.card-title {
    margin: 0;
}

.btn-login {
    background-color: transparent;
    color: white;
    border: none;
    float: right;
    font-size: 14px;
}

.card-body {
    padding: 20px;
    background-color: white;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.form-control, .form-select {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc; /* Kindel piir */
    border-radius: 5px;
    background-color: #f8f9fa;
}

/* Et sisendi kastid ei lähe üle oma piiri */
.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-check-label {
    margin-left: 5px;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.result-text {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif; 
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.card-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #333;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    line-height: 1.6;
}


.result-box p {
    margin: 5px 0;
}

.result-box strong {
    color: #007bff;
    font-weight: bold;
}

.result-box span {
    font-style: italic;
    color: #6c757d;
}

