.dllw-form-wrapper {
    width: 100% important;
    margin: 0 auto;
    padding: 20px;
}

.dllw-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .dllw-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dllw-form-group--full {
        grid-column: 1 / -1;
    }
}

.dllw-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dllw-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.dllw-label.dllw-required::after {
    content: '*';
    color: #ef4444;
    margin-left: 2px;
}

.dllw-input,
.dllw-select,
.dllw-textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.2s;
}

.dllw-textarea {
    resize: vertical;
    min-height: 80px;
}

.dllw-form-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: -4px;
}

.dllw-form-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.dllw-submit-btn {
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.dllw-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dllw-alert {
    padding: 16px;
    border-radius: 8px;
    border: 1px solid;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.dllw-alert-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.dllw-alert-body {
    flex: 1;
}

.dllw-alert-body strong {
    display: block;
    margin-bottom: 4px;
}

.dllw-alert-body p {
    margin: 0;
    opacity: 0.9;
}

.dllw-alert-warning {
    background-color: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}

.dllw-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

/* Popup Trigger Button */
.dllw-popup-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    padding: 14px 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.dllw-popup-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.dllw-popup-trigger i {
    font-size: 20px;
}

.dllw-popup-trigger span {
    margin-left: 8px;
}

/* Popup Overlay */
.dllw-popup-overlay {
    display: none;
    transition: opacity 0.3s ease;
}

.dllw-popup-overlay--visible {
    opacity: 1;
}

/* Popup Card */
.dllw-popup-card {
    position: relative;
    width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: dllw-popup-slide-in 0.3s ease;
}

@keyframes dllw-popup-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.dllw-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
    z-index: 10;
}

.dllw-popup-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.dllw-popup-close i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .dllw-popup-trigger {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }
    
    .dllw-popup-trigger span {
        display: none;
    }
    
    .dllw-popup-card {
        width: 95%;
        max-height: 95vh;
    }
}