﻿.form-container {
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
}

.form-data {
    max-width: 800px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
}

.form-header {
    text-align: left; /* Align the header text to the left */
    margin-bottom: 20px;
}

    .form-header h1, .form-header h2, .form-header p {
        margin: 0; /* Remove default margin */
        padding: 0; /* Remove padding */
    }

    .form-header h1 {
        font-size: 28px; /* Adjusted for better visibility */
    }

    .form-header h2 {
        font-size: 24px; /* Adjusted for better visibility */
    }

    .form-header p {
        margin: 5px 0 15px;
        color: #666;
    }

.form-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.form-label {
    font-size: 16px;
    margin-right: 10px;
    min-width: 150px;
    font-weight: 550;
    text-align: right; /* Align the label to the right */
}

    .form-label .required {
        color: rgb(0, 0, 0);
    }

.form-input, .form-textarea, .form-input-date {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-left: 10px; /* Create space between label and input */
}

    .form-input:focus, .form-textarea:focus, .form-input-date:focus {
        outline: none;
        border: 1px solid #adb1b5;
        box-shadow: 0px 0px 0px 4px rgba(159, 161, 163, 0.5);
    }

.form-textarea {
    height: 80px;
    resize: vertical;
}

.captcha-container, .sub-btn-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .captcha-container .form-label,
    .sub-btn-container .form-label {
        min-width: 150px;
        text-align: right;
        margin-right: 10px;
    }

.captcha {
    display: flex;
    align-items: center;
    margin-left: 7px;
}

.sub-btn button {
    color: #fff7f7;
    background-color: hwb(0 47% 52%);
    height: 35px;
    width: 100px;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    margin-left: 10px;
}

    .sub-btn button:hover {
        background-color: #4c4b4b;
    }

/* Media query for screens smaller than 600px */


.form-label {
    text-align: left; /* Align the label to the left on smaller screens */
    margin-bottom: 5px;
}

.form-input, .form-textarea, .form-input-date, .captcha, .sub-btn button {
    max-width: 100%;
    margin-left: 0; /* Remove space on smaller screens */
}

.form-con {
    padding: 15px;
}

.form-data-post{
    background-color: #f5f5f5;
}
.form-post {
    max-width: 800px;
    background-color: #f5f5f5;    
    padding: 19px;
}
.add-user2 {
    line-height: 17px;
    color: #192a3e;
    background-color: #ffa026;
    border-radius: 22px;
    padding: 2px 17px;
    width: 119px;
    height: 42px;
    font-size: 16px;
    font-weight: 600;
    float: right;
}
.btn {
    background-color: #ff9900; /* Default background color */
    color: white; /* Text color */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border: none; /* Removes the default border */
    outline: none; /* Removes any focus outline */
}

    .btn:hover
    .btn:focus {
        background-color: #ff9900; /* Darker shade on hover */
        border: none !important; /* Ensures no border on hover */
        outline: none !important; /* Ensures no outline on hover */
        box-shadow: none !important; /* Removes any shadow effect */
    }

    .btn:active
    .btn:focus {
        border: none !important; /* Ensures no border on hover */
        outline: none !important; /* Ensures no outline on hover */
        box-shadow: none !important; /* Removes any shadow effect */
    }

.text-color {
    color: #dc3545 !important;
}
.save {
    font-size: 14px;
    line-height: 17px;
    color: #192a3e;
    font-weight: bold;
    background-color: #ffa026;
    border-radius: 22px;
    padding: 9px 18px;
}
    .save:focus,
    .save:active {
        outline: none;
        box-shadow: none;
    }

.form-group-inner {   
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.save-profile-inner {
    font-size: 14px;
    line-height: 17px;
    color: #192a3e;
    font-weight: bold;
    background-color: #ffa026;
    border-radius: 22px;
    padding: 9px 18px;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
}
.text-white-inner {
    color: #fff !important;
}

@media (max-width: 600px) {
    .form-group, .captcha-container, .sub-btn-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

  
