jatinmehra's picture
New feature added for letter generation
6aac5bc verified
/* Main styling for Smart Resume Generator */
body {
background-color: #f9f9f9;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #333;
}
/* Header styling */
header {
background-color: #2c3e50 !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header .text-muted {
color: #cfd9e2 !important;
}
/* Step number circles */
.step-number {
background-color: #3498db;
color: white;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
margin-right: 10px;
font-weight: bold;
}
.step-title {
font-size: 18px;
font-weight: 600;
color: #2c3e50;
}
/* Card styling */
.card {
border: none;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
margin-bottom: 20px;
}
.card-header {
border-bottom: 1px solid #eaeaea;
padding: 15px 20px;
border-radius: 10px 10px 0 0 !important;
}
.card-body {
padding: 20px;
}
/* Form controls styling */
.form-control {
border: 1px solid #e0e0e0;
border-radius: 5px;
padding: 10px;
transition: all 0.3s ease;
}
.form-control:focus {
border-color: #3498db;
box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}
textarea.form-control {
min-height: 100px;
}
/* Button styling */
.btn-primary {
background-color: #2c3e50;
border-color: #2c3e50;
transition: all 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus {
background-color: #34495e;
border-color: #34495e;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn-success {
background-color: #27ae60;
border-color: #27ae60;
transition: all 0.3s ease;
}
.btn-success:hover, .btn-success:focus {
background-color: #219653;
border-color: #219653;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
/* Progress bar */
.progress {
height: 8px;
border-radius: 4px;
}
.progress-bar {
background-color: #3498db;
transition: width 0.3s ease;
}
/* Step sections */
.step-section {
display: none;
}
.step-section.active {
display: block;
}
/* Project card styling */
.project-card {
background-color: white;
border-radius: 8px;
padding: 15px;
border-left: 5px solid #3498db;
margin-bottom: 15px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.project-card h3 {
color: #34495e;
font-size: 18px;
font-weight: 600;
margin-bottom: 10px;
}
.project-card .badge {
background-color: #edf2f7;
color: #4a5568;
font-weight: 500;
}
.project-card .remove-btn {
color: #e74c3c;
cursor: pointer;
transition: all 0.2s ease;
}
.project-card .remove-btn:hover {
color: #c0392b;
}
/* Resume preview */
#resume-preview {
min-height: 300px;
max-height: 500px;
overflow-y: auto;
font-family: 'Times New Roman', Times, serif;
}
#resume-preview h1 {
font-size: 24px;
color: #2c3e50;
margin-bottom: 15px;
}
#resume-preview h2 {
font-size: 20px;
color: #34495e;
margin-top: 20px;
margin-bottom: 10px;
}
#resumeMarkdown {
font-family: monospace;
min-height: 300px;
}
/* Alert styling */
.alert {
border-radius: 8px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.step-number {
width: 24px;
height: 24px;
font-size: 14px;
}
.step-title {
font-size: 16px;
}
}
/* Cover Letter Section Styling */
.card-header.bg-primary {
background-color: #2c3e50 !important;
}
#coverLetterText {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
resize: vertical;
min-height: 300px;
}
#cover-letter-loading .spinner-border {
width: 2rem;
height: 2rem;
}
.form-control.is-invalid {
border-color: #dc3545;
padding-right: calc(1.5em + 0.75rem);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right calc(0.375em + 0.1875rem) center;
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
#generate-cover-letter-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}