﻿/* Default styles for larger screens */
.my-fluid-container {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.panel {
    border: 2px solid #bce8f1;
    margin: 0 auto;
    width: 500px;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.panel-heading {
    font-weight: bolder;
    text-align: center;
    font-size: 18px;
    padding: 15px;
}

.panel-body {
    display: flex;
    flex-direction: column;
}

/* Form and input styles */
.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-bottom: 0.3em;
        font-weight: bold; /* Labels are now bold */
    }

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-top: 0; /* Removed extra space between label and input */
    box-sizing: border-box;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: vertical;
}

input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-top: 30px;
    background-color: #007bff;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

    input[type="submit"]:hover {
        background-color: #0056b3;
    }

/* Error message styling */
.text-danger {
    color: red;
    font-size: 13px;
    margin-top: 4px;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .panel {
        width: 90%;
    }

    .panel-heading {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .panel {
        width: 100%;
        padding: 10px;
    }

    .panel-heading {
        font-size: 14px;
    }

    input[type="submit"] {
        margin-top: 20px;
    }
}
