/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Jul 15, 2018, 2:01:48 PM
    Author     : Damon
*/

.input-group {
    margin: 0px 0;
    position: relative;
    
}

.input-group input {
    display: block;
    width: 93%;
    padding: 5px;
}

.input-group p {
    font-size: 15px;
    color: red;
    visibility: hidden;
}

.input-group i{
    position: absolute;
    right: 10px;
    top: 16px;
    visibility: hidden;
}

.success i.fa-circle-check {
    visibility: visible;
    color: green;
}

.error i.fa-circle-exclamation {
     visibility: visible;
     color: red;
    
}


.error input {
    border: 3px red solid;
}

.error p{
    visibility: visible;
}


.success input {
    border: 3px green solid;
}



.input-error {
    box-shadow: 0 0 5px red;
}



#logo {

    padding: 0px 0px 0px 0px;
}

/*Sign in  info */

#signup-btn {
    background-color: #D08D00; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}


#modal {
    display: none;   
}

.bg-modal {

    width: 100%;
    height: 80%;
    background-color: rgba(0,0,0,0.2);
    background-size: 100% 100%;
    position: absolute;
    top: 0; 

    justify-content: center;
    align-items: center;

}


.modal-content {
    background: #CCCCCC;
    text-align: center;
    width: 90%; /* Use a percentage for responsiveness, up to the max-width */
    max-width: 500px; /* Your desired maximum width */
    height: auto;
    border-radius: 4px;
    padding: 10px;
    position: fixed; /* Use fixed for proper centering in the viewport */
    top: 50%; /* Start at 50% from the top */
    left: 50%; /* Start at 50% from the left */
    transform: translate(-50%, -50%); /* Adjust for perfect centering */
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2), 0 5px 8px 0 rgba(4,0,0,0.9),
        0 5px 8px 0 rgba(0,0,0,0.6), 0 5px 8px 0 rgba(0,0,0,0.6);
    animation-name: modalopen;
    animation-duration: 3s;
}



.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.input-group {
    position: relative;
}
.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="password"] {
    width: calc(100% - 30px); /* Adjust for icons */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    padding-right: 35px; /* Space for icons */
}
.input-group i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden; /* Hidden by default */
}
.input-group.error input {
    border-color: #dc3545; /* Red border for errors */
}
.input-group.success input {
    border-color: #28a745; /* Green border for success */
}
.input-group.error .fa-circle-exclamation {
    color: #dc3545;
    visibility: visible;
}
.input-group.success .fa-circle-check {
    color: #28a745;
    visibility: visible;
}
.errorSpan {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    display: none; /* Hidden by default */
}
.radio-group {
    display: flex; /* Enables Flexbox for easy alignment */
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically (if needed for height) */
    gap: 20px; /* Adds space between radio buttons */
    /* You might want to add a max-width and margin: auto; if this group is within a larger container to center the whole group */
    /* max-width: fit-content; */
    /* margin: auto; */
}

.radio-group input[type="radio"] {
    /* Remove or reset margin-left if it's causing issues */
    margin-left: 0;
    /* Basic styling for uniformity, adjust as needed */
    width: 18px; /* Example size */
    height: 18px; /* Example size */
    appearance: none; /* Hides default radio button style */
    border: 2px solid #555; /* Custom border */
    border-radius: 50%; /* Makes it round */
    outline: none; /* Removes outline on focus */
    cursor: pointer;
    position: relative; /* Needed for custom inner circle */
}

.radio-group input[type="radio"]:checked {
    background-color: #007bff; /* Background when checked */
    border-color: #007bff; /* Border color when checked */
}

.radio-group input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 8px; /* Size of the inner circle */
    height: 8px; /* Size of the inner circle */
    background: white; /* Color of the inner circle */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the inner circle */
}

/* Optional: Style the labels if you have them */
.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 5px; /* Space between radio button and its label text */
}
button {
    width: 100%;
    padding: 10px 15px;
    background-color: #b46e09;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}