/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
}

/* Container for the form */
.container {
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.form-box {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

/* Input Group Styles */
.input-group {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    align-items: center; /* Align prefix and input field in the same line */
}

.input-group .prefix {
    background-color: #f2f2f2;
    padding: 10px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side */
    border-right: none; /* Remove right border so it merges with the input */
}

.input-group input {
    width: 100%;
    padding: 10px 10px 10px 20px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0; /* Rounded corners on the right side */
    outline: none;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 60px; /* Adjust to account for the width of the +91 prefix */
    transform: translateY(-50%);
    font-size: 16px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Focused and Validated Inputs */
.input-group input:focus,
.input-group input:valid {
    border-color: #007bff;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -5px;
    font-size: 12px;
    color: #007bff;
    left: 60px; /* Maintain the label's adjusted position */
}


/* Button Styles */
.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #0056b3, #0094d4);
}
