@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #1f1c2c, #928dab);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container */
.form-container {
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Title */
h2 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

/* Form group spacing */
.formgroup {
    margin-bottom: 15px;
}

/* Labels */
label {
    display: block;
    margin-bottom: 5px;
    color: #ddd;
}

/* Inputs */
input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    transition: 0.3s;
}

/* Focus effect */
input:focus,
textarea:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px #4CAF50;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover */
button:hover {
    background: #43a047;
}

/* Disabled button (for sending state) */
button:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Error text */
.error {
    color: #ff6b6b;
    font-size: 12px;
    height: 14px;
}

/* Success message */
.success {
    color: #00e676;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}
