Skip to content

Commit

Permalink
Create JobApplicationForm.css
Browse files Browse the repository at this point in the history
  • Loading branch information
BoshithaMGunarathna committed Nov 27, 2024
1 parent 0b26128 commit e4cd81c
Showing 1 changed file with 160 additions and 0 deletions.
160 changes: 160 additions & 0 deletions frontend/AIPT/src/pages/Styles/JobApplicationForm.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/* General styles for the form container */
.job-application-container {
min-height: 100vh;
background-color: #f9fafb;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}

.job-application-card {
max-width: 40rem;
width: 100%;
background-color: #ffffff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 0.75rem;
overflow: hidden;
}

/* Header section styles */
.job-application-header {
background: linear-gradient(to right, #4299e1, #667eea);
padding: 1.5rem;
text-align: center;
}

.job-application-header h1 {
font-size: 1.875rem;
font-weight: 700;
color: #ffffff;
}

.job-application-header p {
margin-top: 0.5rem;
color: #cbd5e0;
font-size: 0.875rem;
}

/* Form container styles */
.job-application-form {
padding: 2rem;
}

.job-application-form .form-group {
margin-bottom: 1.5rem;
}

.job-application-form label {
font-size: 0.875rem;
font-weight: 600;
color: #4a5568;
margin-bottom: 0.5rem;
display: block;
display: flex;
align-items: center;
}

.job-application-form label svg {
margin-right: 0.5rem;
color: #a0aec0;
}

.job-application-form input[type="text"],
.job-application-form input[type="email"],
.job-application-form input[type="tel"] {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid #e2e8f0;
border-radius: 0.375rem;
font-size: 0.875rem;
color: #4a5568;
transition: border-color 0.3s, box-shadow 0.3s;
}

.job-application-form input:focus {
outline: none;
border-color: #4299e1;
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.3);
}

/* File input styles */
.job-application-form .file-input-container {
border: 2px dashed #e2e8f0;
border-radius: 0.375rem;
padding: 1.5rem;
text-align: center;
transition: border-color 0.3s, background-color 0.3s;
}

.job-application-form .file-input-container:hover {
border-color: #4299e1;
background-color: #f0f4f8;
}

.job-application-form .file-input-container p {
margin: 0.5rem 0;
color: #718096;
font-size: 0.875rem;
}

.job-application-form .file-input-container span {
color: #a0aec0;
font-size: 0.75rem;
}

/* Button styles */
.job-application-form button {
width: 100%;
padding: 0.75rem;
border: none;
border-radius: 0.375rem;
font-size: 0.875rem;
font-weight: 600;
color: #ffffff;
background-color: #4299e1;
transition: background-color 0.3s;
}

.job-application-form button:hover {
background-color: #3182ce;
}

.job-application-form button:disabled {
background-color: #cbd5e0;
cursor: not-allowed;
}

/* Error messages */
.job-application-form .error-message {
margin-top: 0.25rem;
font-size: 0.75rem;
color: #e53e3e;
}

/* Submission status messages */
.job-application-status {
padding: 1rem 2rem;
border-left: 4px solid;
border-radius: 0.375rem;
margin-bottom: 1.5rem;
display: flex;
align-items: center;
}

.job-application-status svg {
margin-right: 0.5rem;
flex-shrink: 0;
}

.job-application-status.success {
background-color: #f0fff4;
border-color: #38a169;
color: #276749;
}

.job-application-status.error {
background-color: #fff5f5;
border-color: #e53e3e;
color: #742a2a;
}

0 comments on commit e4cd81c

Please sign in to comment.