.ccf-form {
    padding: 20px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 20px auto;
}

.ccf-floating-label {
    position: relative;
    margin-bottom: 15px;
}

    .ccf-floating-label label {
        position: absolute;
        left: 10px;
        top: 12px;
        transition: 0.2s ease all;
        pointer-events: none;
        opacity: .4;
        padding: 0 4px;
        font-weight: normal;
    }

.ccf-name-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .ccf-name-wrapper .ccf-floating-label {
        flex: 1;
        margin-bottom: 15px;
    }

.ccf-floating-label input,
.ccf-floating-label select,
.ccf-floating-label textarea {
    width: 100%;
    height: 48px;
    padding: 20px 10px 12px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

    .ccf-floating-label input:focus,
    .ccf-floating-label input:not(:placeholder-shown),
    .ccf-floating-label select:focus,
    .ccf-floating-label select:not(:placeholder-shown),
    .ccf-floating-label textarea:focus,
    .ccf-floating-label textarea:not(:placeholder-shown) {
        outline: none;
        padding: 25px 10px 8px 10px;
    }

        .ccf-floating-label input:focus + label,
        .ccf-floating-label input:not(:placeholder-shown) + label,
        .ccf-floating-label select:focus + label,
        .ccf-floating-label select:not(:placeholder-shown) + label,
        .ccf-floating-label textarea:focus + label,
        .ccf-floating-label textarea:not(:placeholder-shown) + label {
            top: 0px;
            left: 4px;
            font-size: 14px;
            opacity: .8;
            font-weight: normal;
        }

.ccf-form textarea {
    min-height: 80px;
    resize: vertical;
}

.ccf-form button {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

    .ccf-form button:hover {
        opacity: 0.9;
    }

.ccf-success-message {
    max-width: 400px;
    background: #dff0d8;
    color: #3c763d;
    border-radius: 8px;
    padding: 20px;
    font-family: Arial, sans-serif;
    margin: 20px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .ccf-form, .ccf-success-message {
        width: 90%;
        margin: 20px auto;
    }

    .ccf-name-wrapper {
        flex-direction: column;
    }
}
