﻿.mgs-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.mgs-heading {
    text-align: left;
    margin-bottom: 30px;
}

    .mgs-heading h2 {
        color: #333;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.4;
    }

.mgs-form-row {
    margin-bottom: 20px;
}

.mgs-form-col-6 {
    width: 48%;
    display: inline-block;
    margin-right: 2%;
}

.mgs-form-field {
    position: relative;
    margin-bottom: 20px;
}

.mgs-input-wrap {
    position: relative;
}

.mgs-label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: #fff;
    padding: 0 5px;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.mgs-input,
.mgs-textarea,
.mgs-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.mgs-textarea {
    min-height: 120px;
    resize: vertical;
}

.mgs-checkbox-group {
    margin: 15px 0;
}

.mgs-checkbox-label {
    display: block;
    padding: 8px 0;
    cursor: pointer;
}

.mgs-checkbox {
    margin-right: 8px;
}

.mgs-file-upload {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.mgs-submit-btn {
    background-color: #2563eb;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

    .mgs-submit-btn:hover {
        background-color: #1d4ed8;
    }

.mgs-consent {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

    .mgs-consent a {
        color: #2563eb;
        text-decoration: none;
    }

@media (max-width: 768px) {
    .mgs-form-col-6 {
        width: 100%;
        margin-right: 0;
    }
}
