sidakpelem/resources/css/app.css

364 lines
5.9 KiB
CSS

/* Bootstrap CSS */
@import 'bootstrap/dist/css/bootstrap.min.css';
/* Custom styles */
body {
font-family: 'Inter', sans-serif;
background-color: #f8f9fa;
margin: 0;
padding: 0;
}
.login-container {
min-height: 100vh;
background-color: #f8f9fa;
}
/* Logo Section - Match reference exactly */
.logo-col {
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 3rem 2rem;
position: relative;
}
.logo-section {
width: 100%;
max-width: 450px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 3rem;
}
.brand-card {
background: transparent;
border-radius: 0;
padding: 0;
box-shadow: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 3rem;
width: 100%;
}
/* Text-based logo styling */
.brand-logo {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
margin-bottom: 0;
}
.logo-icon {
font-size: 2rem;
color: #fd7e14;
}
.logo-text {
font-size: 2.5rem;
font-weight: 700;
color: #495057;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.brand-art {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.brand-illustration {
max-width: 100%;
height: auto;
max-height: 320px;
object-fit: contain;
}
/* Form Section - Clean white background */
.form-section {
background-color: white;
padding: 4rem 3rem;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100vh;
}
.form-section .container {
max-width: 450px;
margin: 0 auto;
width: 100%;
}
.form-title {
font-size: 1.875rem;
font-weight: 700;
color: #212529;
margin-bottom: 1rem;
line-height: 1.3;
text-align: left;
}
.form-description {
color: #6c757d;
margin-bottom: 3rem;
font-size: 1rem;
line-height: 1.5;
text-align: left;
}
.form-control {
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 14px 16px;
margin-bottom: 1.5rem;
font-size: 1rem;
transition: all 0.2s ease;
background-color: white;
}
.form-control:focus {
border-color: #20c997;
box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.15);
outline: none;
}
.form-label {
font-weight: 600;
color: #495057;
margin-bottom: 0.75rem;
font-size: 0.95rem;
text-align: left;
}
/* Buttons - Match reference styling */
.btn-login {
background-color: #20c997;
border: none;
border-radius: 8px;
padding: 14px 24px;
color: white;
font-weight: 600;
font-size: 1rem;
margin-bottom: 1rem;
transition: all 0.2s ease;
width: 100%;
}
.btn-login:hover {
background-color: #1ba085;
color: white;
transform: none;
box-shadow: none;
}
.btn-register {
background-color: #fd7e14;
border: none;
border-radius: 8px;
padding: 14px 24px;
color: white;
font-weight: 600;
font-size: 1rem;
transition: all 0.2s ease;
width: 100%;
}
.btn-register:hover {
background-color: #e8690b;
color: white;
transform: none;
box-shadow: none;
}
/* Responsive Design */
@media (max-width: 1199.98px) {
.logo-icon {
font-size: 1.75rem;
}
.logo-text {
font-size: 2.25rem;
}
.brand-illustration {
max-height: 280px;
}
.form-title {
font-size: 1.75rem;
}
}
@media (max-width: 991.98px) {
.logo-col {
min-height: 45vh;
padding: 2rem 1.5rem;
}
.brand-card {
gap: 2rem;
}
.logo-icon {
font-size: 1.5rem;
}
.logo-text {
font-size: 2rem;
}
.brand-illustration {
max-height: 240px;
}
.form-section {
min-height: 55vh;
padding: 3rem 2rem;
}
.form-title {
font-size: 1.6rem;
}
}
@media (max-width: 767.98px) {
.logo-col {
min-height: 40vh;
padding: 1.5rem 1rem;
}
.brand-card {
gap: 1.5rem;
}
.logo-icon {
font-size: 1.25rem;
}
.logo-text {
font-size: 1.75rem;
}
.brand-illustration {
max-height: 200px;
}
.form-section {
min-height: 60vh;
padding: 2rem 1.5rem;
}
.form-section .container {
padding: 0;
}
.form-title {
font-size: 1.5rem;
}
.form-description {
font-size: 0.95rem;
}
.form-control {
padding: 12px 16px;
font-size: 0.95rem;
}
.btn-login, .btn-register {
padding: 12px 20px;
font-size: 0.95rem;
}
}
@media (max-width: 575.98px) {
.logo-col {
min-height: 35vh;
}
.brand-card {
gap: 1rem;
}
.logo-icon {
font-size: 1rem;
}
.logo-text {
font-size: 1.5rem;
}
.brand-illustration {
max-height: 180px;
}
.form-section {
min-height: 65vh;
}
.form-title {
font-size: 1.4rem;
}
.form-description {
font-size: 0.9rem;
}
}
/* Additional improvements */
.form-control::placeholder {
color: #adb5bd;
font-size: 0.95rem;
}
.form-select {
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 14px 16px;
margin-bottom: 1.5rem;
font-size: 1rem;
transition: all 0.2s ease;
background-color: white;
}
.form-select:focus {
border-color: #20c997;
box-shadow: 0 0 0 0.2rem rgba(32, 201, 151, 0.15);
outline: none;
}
/* Remove animations for cleaner look */
.brand-card {
animation: none;
}
.form-section {
animation: none;
}
/* Ensure proper spacing for form groups */
.mb-3 {
margin-bottom: 1.5rem !important;
}
/* Clean up any extra spacing */
.d-grid.gap-2 {
gap: 1rem !important;
}
/* Ensure buttons are properly spaced */
.d-grid.gap-2 .btn {
margin-bottom: 0;
}