/* shared_styles.css */ :root { --primary: #4361ee; --primary-light: #4895ef; --primary-dark: #3f37c9; --primary-gradient: linear-gradient(135deg, #4361ee, #3f37c9); --success: #34a853; --success-light: #e6f4ea; --warning: #ea4335; --warning-light: #fce8e6; --neutral-50: #f9fafb; --neutral-100: #f3f4f6; --neutral-200: #e5e7eb; --neutral-300: #d1d5db; --neutral-400: #9ca3af; --neutral-500: #6b7280; --neutral-600: #4b5563; --neutral-700: #374151; --neutral-800: #1f2937; --neutral-900: #111827; --radius-sm: 6px; --radius-md: 8px; --radius-lg: 12px; --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04); --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; color: var(--neutral-800); line-height: 1.5; font-size: 14px; } .app-container { display: flex; flex-direction: column; height: 100%; width: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--primary-light) var(--neutral-200); } .app-container::-webkit-scrollbar { width: 5px; } .app-container::-webkit-scrollbar-track { background: transparent; } .app-container::-webkit-scrollbar-thumb { background-color: var(--primary-light); border-radius: 10px; } .header { background: var(--primary-gradient); color: white; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-md); } .header-title { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; } /* All other styles from popup.html go here... */ /* ... including .card, .btn, .form-section, .input-group, etc. */ .limit-modal-overlay, .regenerate-modal, .confirm-dialog-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 3000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; } .limit-modal-overlay.active, .regenerate-modal.active, .confirm-dialog-overlay.active { opacity: 1; visibility: visible; } .limit-modal, .modal-content, .confirm-dialog { background-color: white; border-radius: var(--radius-lg); width: 90%; max-width: 450px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: modalSlideIn 0.3s ease; overflow: hidden; } @keyframes modalSlideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Resume Builder Specific Styles */ .resume-builder-form { display: flex; flex-direction: column; gap: 24px; } .form-section { background-color: white; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--neutral-200); overflow: hidden; transition: var(--transition); } .form-section:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); } .section-header { padding: 14px 18px; background-color: var(--neutral-50); border-bottom: 1px solid var(--neutral-200); font-weight: 600; } .section-body { padding: 18px; display: flex; flex-direction: column; gap: 16px; } .input-group { display: flex; flex-direction: column; gap: 6px; } .input-label { font-size: 13px; font-weight: 500; color: var(--neutral-700); } .text-input, .textarea, .date-select { padding: 10px 12px; border: 1px solid var(--neutral-300); border-radius: var(--radius-md); font-family: inherit; font-size: 14px; transition: var(--transition); } .text-input:focus, .textarea:focus, .date-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15); } .textarea { min-height: 100px; resize: vertical; } .add-item-button { align-self: flex-start; margin-top: 8px; } .item-container { border: 1px solid var(--neutral-200); border-radius: var(--radius-md); padding: 16px; margin-bottom: 16px; position: relative; background-color: var(--neutral-50); } .remove-item { position: absolute; top: 8px; right: 8px; background: none; border: none; color: var(--warning); cursor: pointer; font-size: 18px; padding: 4px; line-height: 1; } .remove-item:hover { color: #a11d1d; } .generate-button-container { margin-top: 16px; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; cursor: pointer; transition: var(--transition); border: none; outline: none; white-space: nowrap; position: relative; overflow: hidden; } .btn-primary { background: var(--primary-gradient); color: white; box-shadow: 0 2px 5px rgba(67, 97, 238, 0.3); } .btn-primary:hover { box-shadow: 0 4px 8px rgba(67, 97, 238, 0.4); transform: translateY(-1px); } .btn-secondary { background-color: white; color: var(--neutral-700); border: 1px solid var(--neutral-300); } .btn-secondary:hover { background-color: var(--neutral-100); border-color: var(--neutral-400); } .btn-lg { padding: 12px 24px; font-size: 15px; width: 100%; border-radius: var(--radius-lg); font-weight: 600; } .btn-primary.btn-lg { animation: pulse 2s infinite; } .btn-primary.btn-lg:hover { animation: none; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(67, 97, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(67, 97, 238, 0); } } .date-range-group { display: flex; flex-direction: column; gap: 6px; } .date-range-container { display: flex; align-items: center; gap: 10px; } .date-input { display: flex; gap: 5px; flex: 1; } .date-select { flex: 1; } .month-select { flex: 1.5; } .date-separator { color: var(--neutral-500); font-weight: 500; } .dropdown-container { position: relative; width: 100%; } .dropdown-search { width: 100%; } .dropdown-options { position: absolute; top: 100%; left: 0; right: 0; max-height: 150px; overflow-y: auto; background-color: white; border: 1px solid var(--neutral-300); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); z-index: 100; display: none; box-shadow: var(--shadow-md); } .dropdown-option { padding: 8px 12px; cursor: pointer; transition: background-color 0.2s; } .dropdown-option:hover { background-color: var(--neutral-100); } .other-option { border-top: 1px solid var(--neutral-200); font-style: italic; color: var(--neutral-600); } .other-input { margin-top: 8px; }