@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap'); :root { --background-color: #121212; --surface-color: #1E1E1E; --primary-gradient: linear-gradient(90deg, #6A11CB 0%, #2575FC 100%); --text-primary: #FFFFFF; --text-secondary: #B0B0B0; --border-color: #333333; --border-radius: 0.5rem; } body { font-family: 'Inter', sans-serif; background-color: var(--background-color); color: var(--text-primary); margin: 0; } /* Used on login page */ body.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; } .auth-container { display: flex; width: 100%; max-width: 1200px; min-height: 700px; background-color: var(--surface-color); border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } .auth-visual { flex: 1; background: url('https://picsum.photos/seed/resume-art/800/1200') no-repeat center center; background-size: cover; } .auth-content { flex: 1; padding: 4rem; display: flex; flex-direction: column; justify-content: center; } .auth-header h1 { font-weight: 700; font-size: 2.5rem; margin-bottom: 0.5rem; } .auth-header p { color: var(--text-secondary); margin-bottom: 2rem; } .nav-tabs { border-bottom: 1px solid var(--border-color); } .nav-tabs .nav-link { background: none; border: none; color: var(--text-secondary); padding: 1rem 0; margin-right: 1.5rem; font-weight: 500; cursor: pointer; border-bottom: 2px solid transparent; } .nav-tabs .nav-link.active { color: var(--text-primary); border-bottom: 2px solid #6A11CB; background: none; } .nav-tabs .nav-link:hover { border-color: #333; } .nav-tabs .nav-link.active:hover { border-bottom-color: #6A11CB; } .form-control { background-color: #2a2a2a; border: 1px solid var(--border-color); color: var(--text-primary); border-radius: var(--border-radius); padding: 0.75rem 1rem; width: 100%; box-sizing: border-box; } .form-control:focus { background-color: #2a2a2a; color: var(--text-primary); border-color: #6A11CB; box-shadow: none; outline: none; } .form-control::placeholder { color: #6c757d; } .btn-primary { background: var(--primary-gradient); border: none; border-radius: var(--border-radius); padding: 0.75rem; font-weight: 500; color: var(--text-primary); width: 100%; cursor: pointer; transition: opacity 0.3s ease; } .btn-primary:hover { opacity: 0.9; } .btn-google { background-color: #fff; color: #000; border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 0.75rem; font-weight: 500; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; transition: background-color 0.3s ease; } .btn-google:hover { background-color: #f0f0f0; } .divider { display: flex; align-items: center; text-align: center; color: var(--text-secondary); margin: 1.5rem 0; } .divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border-color); } .divider:not(:empty)::before { margin-right: .25em; } .divider:not(:empty)::after { margin-left: .25em; } /* General App Layout */ .page-wrapper { display: flex; height: 100vh; width: 100%; } .sidebar { width: 260px; background-color: var(--surface-color); display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--border-color); } .sidebar-header h2 { font-weight: 700; font-size: 1.8rem; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 2rem; } .sidebar-nav a { color: var(--text-secondary); text-decoration: none; display: block; padding: 0.8rem 1rem; border-radius: var(--border-radius); margin-bottom: 0.5rem; transition: background-color 0.2s ease, color 0.2s ease; } .sidebar-nav a:hover { background-color: #2a2a2a; color: var(--text-primary); } .sidebar-nav a.active { background-color: rgba(106, 17, 203, 0.2); color: var(--text-primary); font-weight: 500; } #logout-btn-sidebar { margin-top: auto; cursor: pointer; } .main-content { flex: 1; overflow-y: auto; padding: 2rem 3rem; } .page-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.25rem; } .page-header p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 2.5rem; } /* Template Selection Grid */ .template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; } .template-card { position: relative; border-radius: var(--border-radius); overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; } .template-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); } .template-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; } .template-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; } .template-card:hover .template-overlay { opacity: 1; } .template-overlay .btn-select { background: var(--primary-gradient); border: none; border-radius: var(--border-radius); padding: 0.6rem 1.5rem; font-weight: 500; color: var(--text-primary); cursor: pointer; text-decoration: none; } /* Form Styles */ .form-container { max-width: 900px; } .form-section { background-color: var(--surface-color); padding: 2rem; border-radius: var(--border-radius); margin-bottom: 2rem; border: 1px solid var(--border-color); } .form-section h2 { font-size: 1.5rem; margin-top: 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; } .form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-secondary); } textarea.form-control { resize: vertical; min-height: 80px; } .btn-secondary { background: #3a3a3a; border: 1px solid var(--border-color); color: var(--text-primary); padding: 0.6rem 1.2rem; border-radius: var(--border-radius); cursor: pointer; transition: background-color 0.2s ease; } .btn-secondary:hover { background: #4a4a4a; } .form-actions { margin-top: 1rem; } .dynamic-section { border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 1.5rem; margin-bottom: 1.5rem; position: relative; background-color: #1a1a1a; } .btn-remove { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-secondary); cursor: pointer; font-size: 1rem; padding: 0.5rem; } .btn-remove:hover { color: #ff4d4d; } /* Loading Overlay */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: none; /* Hidden by default */ justify-content: center; align-items: center; z-index: 1000; flex-direction: column; } .loading-overlay.show { display: flex; } .spinner { border: 8px solid var(--border-color); border-top: 8px solid #6A11CB; border-radius: 50%; width: 60px; height: 60px; animation: spin 1s linear infinite; } .loading-overlay p { color: var(--text-primary); margin-top: 1rem; font-size: 1.1rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }