.dc-cf-wrap {
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.dc-cf-heading {
    margin: 0 0 12px;
}

.dc-cf-description {
    margin-bottom: 22px;
}

.dc-cf-form-front {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dc-cf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dc-cf-field input[type="text"],
.dc-cf-field input[type="number"],
.dc-cf-field input[type="email"],
.dc-cf-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    box-sizing: border-box;
}

.dc-cf-field textarea {
    min-height: 120px;
    resize: vertical;
}

.dc-cf-file-upload {
    position: relative;
    width: 100%;
}

.dc-cf-file-drop {
    display: block;
    position: relative;
    min-height: 132px;
    padding: 24px 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
}

.dc-cf-file-drop:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.dc-cf-file-upload.is-dragover .dc-cf-file-drop {
    transform: translateY(-1px);
}

.dc-cf-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.dc-cf-file-drop-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    pointer-events: none;
}

.dc-cf-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.dc-cf-file-icon::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dc-cf-file-prompt {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 100%;
}

.dc-cf-file-prompt strong {
    font-size: 1em;
    font-weight: 600;
    color: inherit;
}

.dc-cf-file-hint {
    display: block;
    font-size: 0.88em;
    line-height: 1.55;
    color: #64748b;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
    white-space: normal;
}

.dc-cf-file-hint-label {
    margin-right: 0.35em;
}

.dc-cf-file-ext-list {
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
    word-spacing: 0.08em;
}

.dc-cf-file-hint-sep {
    margin: 0 0.2em;
}

.dc-cf-file-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 12px 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    box-sizing: border-box;
}

.dc-cf-file-selected[hidden] {
    display: none !important;
}

.dc-cf-file-selected-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.dc-cf-file-selected-icon::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dc-cf-file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #1e293b;
}

.dc-cf-file-remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dc-cf-file-remove:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.dc-cf-file-upload.has-file .dc-cf-file-drop {
    display: none;
}

.dc-cf-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dc-cf-submit-btn {
    min-height: 42px;
    padding: 0 22px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dc-cf-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
}

.dc-cf-notice-success {
    background: #dcfce7;
    color: #166534;
}

.dc-cf-notice-error {
    background: #fee2e2;
    color: #991b1b;
}

.dc-cf-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
}
