﻿body {
    /*background-image: url('../../content/img/backgrndimageregister.png');*/
    background-image: url('../../img/backgrndimageregister.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    height: 100vh;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    max-width: 720px;
}

h2 {
    text-align: center;
    color: #2193b0;
    font-size: 28px;
    margin-bottom: 10px;
}

.form-group label {
    font-weight: 600;
    color: #555;
}

.btn-submit {
    background-color: #2193b0;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
}

    .btn-submit:hover {
        background-color: #6dd5ed;
        color: white;
    }

.form-control {
    border-radius: 10px;
    box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    font-size: 16px;
    padding: 12px;
}

    .form-control:focus {
        border-color: #2193b0;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }

.header-note {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin-bottom: 25px;
}

.required::after {
    content: "*";
    color: red;
}

.alert {
    margin-top: 20px;
}

.row {
    margin-bottom: 5px;
}

.col-4 {
    padding: 0 15px;
}

.col-6 {
    padding: 0 15px;
}

.form-group select.form-control {
    padding: 5px;
}

.input-group-append button {
    border-radius: 10px;
    background-color: #2193b0;
    color: white;
    transition: background-color 0.3s ease;
}

    .input-group-append button:hover {
        background-color: #6dd5ed;
    }

.input-group-text i {
    font-size: 18px;
}
/* Basic switch styling */
.form-check-input {
    appearance: none;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

    /* The circle inside the switch */
    .form-check-input:before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background-color: white;
        transition: all 0.3s;
    }

    /* When checked (switched on) */
    .form-check-input:checked {
        background-color: #4caf50; /* Green color when "on" */
    }

        .form-check-input:checked:before {
            transform: translateX(25px); /* Move the circle to the right */
        }

    /* Optional: Hover effect for the switch */
    .form-check-input:hover {
        opacity: 0.9;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        margin: 30px;
        padding: 20px;
    }

    h2 {
        font-size: 24px;
    }

    .row {
        flex-direction: column;
    }

    .col-4, .col-6 {
        padding: 0;
        margin-bottom: 15px;
    }
}


/* Shared button styling for both buttons */
button {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    flex: 1; /* Ensures buttons take up equal space */
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
}

/* Container to display buttons in one row */
.button-container {
    display: flex;
    justify-content: space-between; /* Adds space between the buttons */
    gap: 10px; /* Adds some space between the buttons */
}

/* Blue Submit (Register) Button */
.btn-primary {
    background-color: #2193b0; /* Blue color */
    color: white;
}

    .btn-primary:hover {
        background-color: #6dd5ed; /* Lighter blue on hover */
    }

/* Grey Reset Button */
.btn-reset {
    background-color: #ccc; /* Grey color */
    color: #333;
}

    .btn-reset:hover {
        background-color: #999; /* Darker grey on hover */
    }
