﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
}

.container {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

    input:focus,
    textarea:focus {
        border-color: #4CAF50;
        outline: none;
    }

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

    button:hover {
        background-color: #3e8e41;
    }

#errorMessages {
    margin-top: 12px;
    color: #e74c3c;
    font-size: 13px;
}

.toast {
        visibility: hidden;
        min-width: 250px;
        background-color: #28a745;
        color: white;
        text-align: center;
        border-radius: 4px;
        padding: 16px;
        position: fixed;
        z-index: 1000;
        left: 50%;
        bottom: 30px;
        transform: translateX(-50%);
        font-size: 16px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        opacity: 0;
        transition: opacity 0.5s ease, bottom 0.5s ease;
    }

    .toast.show {
        visibility: visible;
        bottom: 50px;
        opacity: 1;
    }

@media (max-width: 600px) {
    .container {
        padding: 18px;
        border-radius: 8px;
    }

    h2 {
        font-size: 20px;
    }

    label {
        font-size: 14px;
    }

    button {
        font-size: 15px;
    }
}
