/* Additional Resume Builder Styles for New Sections */
.certification-entry,
.publication-entry,
.project-entry,
.award-entry,
.membership-entry {
    background: #fafbfc;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.certification-entry:hover,
.publication-entry:hover,
.project-entry:hover,
.award-entry:hover,
.membership-entry:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e8ed;
}

.entry-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.remove-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.remove-btn:hover {
    background: #ff3838;
}

.entry-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.entry-form-row.full-width {
    flex-direction: column;
}

.entry-form-row .field-group {
    flex: 1;
}

@media (max-width: 768px) {
    .entry-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .remove-btn {
        align-self: flex-end;
    }
}

/* Enhanced Skills Section Styling */
.field-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.field-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Small form labels */
.small-label {
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

/* Preview button styling */
.preview-button-container {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
}

.preview-print-btn {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.preview-close-btn {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

/* PDF section margin */
.pdf-section {
    margin-bottom: 30px;
}

/* Social links styling for generated content */
.social-link-linkedin {
    color: #0077b5;
    text-decoration: none;
}

.social-link-github {
    color: #333;
    text-decoration: none;
}

.social-link-website {
    color: #2196F3;
    text-decoration: none;
}

.social-link-scholar {
    color: #4285F4;
    text-decoration: none;
}

/* Hidden elements */
.premium-hidden {
    display: none;
}

.payment-modal-hidden {
    display: none !important;
}

/* Checkbox styling for special cases */
.field-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.field-group input[type="month"] {
    width: 100%;
}

/* Enhanced add button styling */
.add-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.add-btn i {
    font-size: 0.8rem;
}

/* Enhanced textarea styling for bullet points */
.field-group textarea[id*="tasks"],
.field-group textarea[id*="projects"] {
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    resize: vertical;
}

.field-group textarea[id*="tasks"]::placeholder,
.field-group textarea[id*="projects"]::placeholder {
    color: #888;
    font-style: italic;
}

/* Bullet point helper styling */
.bullet-helper {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* PDF specific styles for better bullet formatting */
.pdf-bullet-list {
    margin: 8px 0;
    padding-left: 20px;
}

.pdf-bullet-item {
    margin: 4px 0;
    list-style-type: disc;
    color: #555;
}
