/* Container */
.crf-form-modern {
    background-color: #f3f5f7; /* Light grey background */
    padding: 22px;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (min-width: 1024px) {
    .crf-form-modern {
        max-width: 440px;
        margin: 0;
        margin-left: auto;
    }
}

@media (min-width: 1280px) {
    .crf-form-modern {
        max-width: 490px;
    }
}

@media (min-width: 1536px) {
    .crf-form-modern {
        max-width: 550px;
    }
}

/* Header */
.crf-header {
    text-align: center;
    margin-bottom: 30px;
}
.crf-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}
.crf-header p {
    color: #6B7280;
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.09em;
}

/* Section Titles (Icon + Text) */
.crf-section-title {
    display: flex;
    align-items: center;
    color: #6B7280; /* Dark grey-green */
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 20px;
}
.crf-section-title img {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

/* Input Fields Wrapper */
.crf-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

/* The Icons inside inputs */
.crf-field-icon {
    position: absolute;
    left: 15px;
    top: 49%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.5;
    z-index: 2;
}
.crf-field-icon.top-aligned {
    top: 16px;
    transform: none;
}

/* Inputs & Textarea */
.crf-input {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Left padding makes room for icon */
    border: none;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 14px;
    color: #333;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}
.crf-input:focus {
    outline: 2px solid #366657;
}

/* File Upload - Dashed Style */
.crf-upload-container {
    position: relative;
    border: 2px dashed #cbd5e0;
    background-color: #f3f5f7;
    border-radius: 6px;
    text-align: center;
    padding: 12px;
    margin-top: 20px;
    margin-bottom: 25px;
    cursor: pointer;
}
.crf-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #8898aa;
    font-weight: 500;
}
.crf-upload-label img {
    width: 24px;
    opacity: 0.6;
}
/* Make the actual file input invisible but clickable over the whole area */
.crf-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Submit Button */
.crf-submit-btn {
    width: 100%;
    background-color: #366657; /* The specific dark green */
    color: white;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
     letter-spacing: 0.05em;
    gap: 10px;
    transition: background 0.3s;
}
.crf-submit-btn:hover {
    background-color: #2b5246;
}

/* Privacy Footer */
.crf-privacy-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.crf-footer-icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    position: static; 
    transform: none;
}