/* Global reset and box model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body styling */
body {
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Form container */
.form-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Heading styling */
h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Label and input styling */
label {
    display: block;
    margin: 10px 0 5px;
}

/* Input and select fields */
input, select, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button styling */
button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    background: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

/* Button hover effect */
button:hover {
    background: #0056b3;
}

/* Error styling */
.error {
    border-color: red;
}

/* Step visibility management */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Loading Spinner inside the form */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
}

.loading-spinner i {
    font-size: 40px;
    color: #3498db; /* Spinning icon color */
}

/* Prevent form inputs from moving while loading */
.form-container {
    position: relative;
}

/* Prevent form content from moving up when spinner is visible */
form {
    position: relative;
}

.text-success {
    color: #28a745 !important; /* Green color */
    font-weight: bold;
}

        .social-input {
            display: none;
            margin-top: 10px;
        }
        .social-select {
            width: 100%;
            padding: 10px;
        }

 .character-count {
            font-size: 0.9em;
            color: white;
        }
        .character-count.valid {
            color: green;
        }
        .character-count.invalid {
            color: red;
        }
        
        
        