/* Deep Premium Fonts - Main Styles */
.dpf-generator-container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #e1e8ed;
}

.dpf-theme-dark {
    background: #2d3748;
    color: #ffffff;
    border-color: #4a5568;
}

.dpf-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 20px;
}

.dpf-theme-dark .dpf-header {
    border-bottom-color: #4a5568;
}

.dpf-header h3 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.dpf-theme-dark .dpf-header h3 {
    color: #f7fafc;
}

.dpf-header p {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

.dpf-theme-dark .dpf-header p {
    color: #cbd5e0;
}

.dpf-input-section {
    margin-bottom: 25px;
}

#dpf-input-text {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #fff;
}

.dpf-theme-dark #dpf-input-text {
    background: #4a5568;
    border-color: #718096;
    color: #fff;
}

#dpf-input-text:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.dpf-char-count {
    text-align: right;
    font-size: 14px;
    color: #718096;
    margin-top: 5px;
}

.dpf-theme-dark .dpf-char-count {
    color: #cbd5e0;
}

.dpf-font-selection {
    margin-bottom: 25px;
}

.dpf-font-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
    font-size: 16px;
}

.dpf-theme-dark .dpf-font-selection label {
    color: #e2e8f0;
}

#dpf-font-style {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dpf-theme-dark #dpf-font-style {
    background: #4a5568;
    border-color: #718096;
    color: #fff;
}

#dpf-font-style:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.dpf-preview-section {
    margin-bottom: 30px;
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
}

.dpf-theme-dark .dpf-preview-section {
    background: #4a5568;
}

.dpf-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dpf-preview-header h4 {
    margin: 0;
    color: #4a5568;
    font-size: 18px;
}

.dpf-theme-dark .dpf-preview-header h4 {
    color: #e2e8f0;
}

.dpf-preview-box {
    background: #ffffff;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 20px;
    min-height: 80px;
    font-size: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
    transition: all 0.3s ease;
}

.dpf-theme-dark .dpf-preview-box {
    background: #2d3748;
    border-color: #718096;
    color: #fff;
}

.dpf-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dpf-btn-primary {
    background: #4299e1;
    color: white;
}

.dpf-btn-primary:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.dpf-btn-secondary {
    background: #718096;
    color: white;
}

.dpf-btn-secondary:hover {
    background: #4a5568;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(113, 128, 150, 0.3);
}

.dpf-featured-fonts h4 {
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 18px;
}

.dpf-theme-dark .dpf-featured-fonts h4 {
    color: #e2e8f0;
}

.dpf-font-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.dpf-font-item {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dpf-theme-dark .dpf-font-item {
    background: #4a5568;
    border-color: #718096;
}

.dpf-font-item:hover {
    border-color: #4299e1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dpf-font-preview {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    min-height: 24px;
}

.dpf-font-name {
    font-size: 12px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.dpf-theme-dark .dpf-font-name {
    color: #cbd5e0;
}

.dpf-fancy-text {
    font-weight: 600;
}

/* Loading animation */
.dpf-loading {
    color: #718096;
    font-style: italic;
}

.dpf-loading .fa-spinner {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dpf-generator-container {
        padding: 20px;
        margin: 10px 0;
    }
    
    .dpf-font-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dpf-preview-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .dpf-btn {
        width: 100%;
        justify-content: center;
    }
    
    .dpf-preview-box {
        font-size: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .dpf-font-grid {
        grid-template-columns: 1fr;
    }
    
    .dpf-header h3 {
        font-size: 24px;
    }
    
    .dpf-preview-box {
        font-size: 18px;
    }
}

/* Animation for copy feedback */
@keyframes dpf-copy-feedback {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.dpf-copy-animation {
    animation: dpf-copy-feedback 0.3s ease;
}

/* Message styles */
.dpf-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #48bb78;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    font-weight: 600;
    max-width: 300px;
}