/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #161618;
    min-height: 100vh;
    color: #ededef;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-button {
    display: flex;
    align-items: center;
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}

.back-button:hover {
    color: #1f2937;
}

.back-button i {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    width: 24px;
    height: 24px;
    color: #2563eb;
}

.logo span {
    font-weight: 600;
    font-size: 1.25rem;
}

.spacer {
    width: 6rem;
}

/* Main content styles */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.signup-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.text-center {
    text-align: start;
}

h2 {
    font-size: 22px;
    font-weight: 500;
    line-height: 22px;
    color: #ededef;
    margin-bottom: 16px;
}

.subtitle {
    color: #a09fa6;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
}

.subtitle .signup-tag {
    color: #f16a50;
    text-decoration: none;
}

/* Form styles */
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

label {
    display: block;
    width: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 8px;
    transition: color .1s ease;

}

.auth-input {
    height: 34px;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    padding: 0 8px;
    background-color: #232326;
    border: 1px solid #34343a !important;
    border-radius: 8px;
    transition: border-color .1s ease;
    overflow: hidden;
    color: white;
    z-index: 1;

}

.er {
    width: 100%;
    flex-direction: column;
}

button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.error-input{
    border: 1px solid red !important;
}
.error {
    color: red;
    font-size: 11px;
    margin-top: 5px;
    display: block;
}

.auth-input:focus-visible {
    outline: none;
    border-radius: 3px;
}

.auth-input::placeholder {
    color: #a09fa6;
}

.auth-input:focus {
    border: 0;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.names-input {
    width: 100%;
    flex-direction: row;
}

.auth-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #ec5e41;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}


.signin-link {
    text-align: center;
    color: #4b5563;
}

.signin-link a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.signin-link a:hover {
    color: #1d4ed8;
}

/* Terms section */
.terms {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.terms a {
    color: #2563eb;
    text-decoration: none;
}

.terms a:hover {
    color: #1d4ed8;
}

.forget-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.forget-container input {
    height: 14px;
    width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #ededef;
    border-radius: 4px;
    background-color: initial;
    color: white;
    margin-top: 2px;
    margin-right: 6px;
    transition: all .1s ease;

}

.forget-container label {
    display: flex;
    align-items: center;
    font-size: 11px;
    line-height: 16px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #a09fa6;

}

/* Style the default checkbox */
input[type="checkbox"] {
    display: none;
    /* Hide the default checkbox */
}

/* Create a custom styled checkbox */
input[type="checkbox"]+label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    line-height: 20px;
}

/* Create the custom checkbox appearance */
input[type="checkbox"]+label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border: 2px solid #232326;
    border-radius: 4px;
    background-color: #161618;
    /* Default background color */
    transition: background-color 0.3s, border-color 0.3s;
}

/* Change background color when checkbox is checked */
input[type="checkbox"]:checked+label::before {
    background-color: #ec5e41;
    /* New background color when checked */
    border-color: #ec5e41;
}

/* Add a checkmark when the checkbox is checked */
input[type="checkbox"]:checked+label::after {
    content: '✔';
    position: absolute;
    left: 4px;
    top: -1px;
    font-size: 11px;
    color: white;
}

.forgot {
    display: flex;
    justify-content: space-between;
}

.forgot-tag a {
    display: flex;
    align-items: center;
    font-size: 11px;
    line-height: 16px;
    text-decoration: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #ec5e41;

}

label a {
    font-size: 11px;
    text-decoration: none;
    
    color: #ec5e41;

}
.sign-up-checkbox{
    margin-top: 10px;
}