.signup-creator-container {
    max-width: 400px;
    width: 90%;
}

.back-link {
    background-color:transparent !important;
    border:none !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    margin-bottom: 2rem;
    cursor: pointer;
}

.back-link:hover {
    opacity: 1;
}

.back-arrow {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: left;
    color: #fff;
}

.subtitle {
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 2rem;
    text-align: left;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    text-align: left;
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.login-link {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: silver;
}

.login-link a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Custom Checkbox */
.checkbox-group {
    margin-bottom: 1rem;
}

.custom-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    background-color: black;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
}

.custom-checkbox:checked {
    border-color: #ff0000;
    background-color: #ff0000;
    box-shadow: inset 0 0 0 2px black;
}

.custom-checkbox-container label {
    color: white;
    font-size: 14px;
    line-height: 1.4;
}

.terms-link {
    color: white;
    text-decoration: underline;
}

/* Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.popup-header h3 {
    margin: 0;
    color: black;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.popup-body {
    padding: 1rem;
    color: black;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Pour Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}