﻿.contact-body,
.contact-body * {
    box-sizing: border-box;
}

.contact-body {
    background: #ffffff;
    height: auto;
    position: relative;
    overflow: visible;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}


#main-content {
    display: flex;
    flex-direction: column;
    gap: 1.39vw;
    padding-top: 6.25vw;
    position: relative;
    align-items: center;
}

.contact-container {
    width: 83.33vw;
    margin: 0 auto;
    margin-top: 50px;
    padding: 2.08vw;
    background-color: #ffffff;
    border-radius: 0.69vw;
    box-shadow: 0 0.28vw 0.83vw rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 4.86vw - 8.33vw);
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 1.94vw;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.74vw;
    text-align: center;
    text-transform: uppercase;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.39vw;
    text-align: left;
    padding: 1.39vw;
    background-color: #f5f5f5;
    border-radius: 0.56vw;
    flex-grow: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.56vw;
    position: relative;
}

.control-label {
    font-weight: 500;
    color: #444444;
    font-size: 1.11vw;
}

.form-control, select.form-control {
    padding: 0.83vw 1.04vw;
    border: 0.14vw solid #cccccc;
    border-radius: 0.42vw;
    font-size: 1.04vw;
    width: 100%;
    height: 3.47vw;
    box-sizing: border-box;
    background-color: #ffffff;
    transition: border-color 0.3s;
    color: #555;
    display: flex;
    align-items: center;
}

    .form-control:focus {
        border-color: #dc3545;
        outline: none;
    }

    .form-control[readonly] {
        background-color: #e9ecef;
        color: #666666;
        cursor: not-allowed;
    }

textarea.form-control {
    height: 10.42vw;
    resize: vertical;
}

.action-buttons {
    display: flex;
    gap: 1.04vw;
    justify-content: flex-end;
}

.btn-save {
    background-color: #dc3545;
    color: #ffffff;
    padding: 0.83vw 1.74vw;
    border: none;
    border-radius: 0.42vw;
    font-size: 1.11vw;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-save:hover {
        background-color: #c82333;
    }

.text-danger {
    color: #dc3545;
    font-size: 0.97vw;
}

a.text-dark:hover {
    color: #dc3545 !important;
}

@media (max-width: 750px) {
    .contact-container {
        padding: 15px;
    }

    .contact-title {
        font-size: 22px;
    }

    .contact-form {
        padding: 15px;
    }

    .form-control {
        height: 45px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-save {
        width: 100%;
    }

    #main-content {
        padding-top: 0 !important;
        gap: 0;
    }

    .left-section {
        position: static;
        width: 100%;
        padding: 20px;
    }
}

.card {
    border-radius: 12px;
}

.alert-info {
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
}

.contact-action-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    font-size: inherit;
    line-height: inherit;
    transition: color 0.2s ease-in-out;
}

    .contact-action-link:hover {
        color: #000000;
    }
