/* Basic reset and general styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Container for the whole contact section */
.contact-section {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    /*Top, Right, Bottom, Left*/
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    font-size: 36px;
    color: #333;
    margin: 0;
    background: #57b894;
}

.contact-header p {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
}

/* Contact form styles */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-input{
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
}

.form-input:hover {
    border-color: #4A90E2;
    /* Modern blue highlight on focus */
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
    /* Soft glow on focus */
    outline: none;
    /* Remove default outline */
}

.form-input-textarea{
    height: 20em; /* Optional, can be adjusted */
}

/* Button style */
.form-button {
    width: 20%;
    padding: 10px 20px;
    background-color: #4CAF50;
    /* Green background */
    color: white;
    /* White text */
    border: none;
    /* Remove border */
    border-radius: 50px;
    /* Rounded corners */
    cursor: pointer;
    /* Pointer cursor on hover */
    font-size: 16px;
    /* Increase font size */
}

.button-container {
    margin-top: 20px;
    /* Add spacing above the button */
    text-align: center;
    /* Center the button */
}

.form-button:hover {
    background-color: #469d7b;
}

/* Contact info section */
.contact-info {
    margin-top: 30px;
    text-align: center;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    color: #555;
}

/* Confirmation message styles */
.confirmation-message {
    /*background-color: #d4edda;*/
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    margin-top: 30px;
}

.confirmation-message.success {
    background: #4CAF50; /* Green */
    color: white;
}

.confirmation-message.error {
    background: #f44336; /* Red */
    color: white;
}

.contact-readonly-input{
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #495057;
    cursor: not-allowed;
    opacity: 0.9;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);

    /* Remove interactive states */
    &:focus {
        border-color: #ced4da;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
        outline: none;
    }

    /* Add a "locked" icon indicator (optional) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%236c757d" viewBox="0 0 16 16"><path d="M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px;
}

/* Responsive Styles */
@media screen and (max-width: 600px) {
    .contact-section {
        padding: 15px;
    }

    .contact-header h1 {
        font-size: 28px;
    }

    .contact-form .form-input,
    .contact-form .form-button {
        font-size: 14px;
    }
}
