/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Container */
.container {
    width: 90%;
    max-width: 600px; /* Responsive width */
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Header */
h1 {
    text-align: center;
    color: #C0399D;
    margin-bottom: 20px;
}

/* Logo */
img.logo {
    display: block;
    margin: 0 auto 20px;
    max-width: 150px; /* Adjusted for better responsiveness */
    height: auto; /* Maintain aspect ratio */
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px; /* Ensures readable font size */
}

textarea {
    resize: vertical; /* Allow vertical resize only */
}

button {
    padding: 12px;
    background-color: #C0399D;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #a32c6f;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    input, textarea {
        font-size: 16px;
        padding: 10px;
    }

    button {
        font-size: 18px;
        padding: 14px;
    }
}

/* 3-Step Form Styles for Mobile */
@media (max-width: 480px) {
    form {
        display: flex;
        flex-direction: column;
    }

    .step {
        display: none;
    }

    .step.active {
        display: block;
    }

    .step-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }

    .step-buttons button {
        flex: 1;
        margin: 0 5px;
    }
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 20px;
    background-color: #81B440; /* Green color */
    color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    box-sizing: border-box;
}

.success-circle {
    display: inline-block;
    background-color: #fff;
    color: #81B440;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 10px;
}

.success-circle svg {
    vertical-align: middle;
}
