/* Common styles for both login and registration forms */
.clr-form-wrapper {
    text-align: center;
    margin: 50px auto;
    width: 300px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 5px;
}

.clr-form-wrapper input,
.clr-form-wrapper button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 25px; /* Rounded button and inputs */
}

.clr-form-wrapper input {
    font-size: 14px;
}

.clr-form-wrapper button {
    background: linear-gradient(180deg, #1DA1F2 0%, #0B67B8 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.clr-loader {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    display: none;
}

.clr-message {
    margin-top: 20px;
}

/* Style for titles */
.clr-form-wrapper h2 {
    font-size: 18px;
    color: #333;
}

.clr-form-wrapper p {
    color: #555;
}

.clr-form-wrapper input:focus,
.clr-form-wrapper button:focus {
    outline: none;
}

.clr-form-wrapper input::placeholder,
.clr-form-wrapper button::placeholder {
    color: gray;
}
.clr-form-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clr-message {
    margin-top: 20px;
    color: red; /* Default to red color for error messages */
}

.clr-message.success {
    color: green;
}

.clr-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Full screen semi-transparent overlay */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
}

.loader-text {
    color: #fff;
    font-size: 20px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:disabled {
    background-color: #ccc;
}

/* Error message in red */
.clr-message p {
    color: red;
    font-weight: bold;
}

.clr-message.success p {
    color: green;
}    .clr-form-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clr-message {
    margin-top: 20px;
    color: red; /* Default to red color for error messages */
}

.clr-message.success {
    color: green;
}

.clr-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Full screen semi-transparent overlay */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
}

.loader-text {
    color: #fff;
    font-size: 20px;
}

.input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:disabled {
    background-color: #ccc;
}

/* Error message in red */
.clr-message p {
    color: red;
    font-weight: bold;
}

.clr-message.success p {
    color: green;
}