Files
shahrzadzandi09/public/assets/css/auth.css
T

380 lines
4.9 KiB
CSS

/* =========================================
AUTH PAGE
========================================= */
.auth-page {
min-height: 80vh;
padding: 70px 0;
background: #f5f7fb;
direction: rtl;
}
/* =========================================
CARD
========================================= */
.auth-card {
width: 100%;
max-width: 900px;
margin: 0 auto;
background: #fff;
border-radius: 18px;
padding: 40px;
box-shadow:
0 15px 45px rgba(0, 0, 0, 0.10);
}
.login-card {
max-width: 500px;
}
/* =========================================
HEADER
========================================= */
.auth-header {
text-align: center;
margin-bottom: 35px;
}
.auth-icon {
width: 70px;
height: 70px;
margin: 0 auto 18px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #eef5ff;
color: #1473e6;
font-size: 28px;
}
.auth-header h1 {
margin: 0 0 10px;
font-size: 27px;
font-weight: 700;
color: #222;
}
.auth-header p {
margin: 0;
color: #777;
font-size: 14px;
line-height: 1.8;
}
/* =========================================
FORM SECTION
========================================= */
.form-section {
margin-bottom: 30px;
padding-bottom: 25px;
border-bottom: 1px solid #eee;
}
.form-section:last-of-type {
border-bottom: none;
}
.form-section-title {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 22px;
font-size: 17px;
font-weight: 700;
color: #333;
}
.form-section-title i {
color: #1473e6;
font-size: 19px;
}
/* =========================================
FORM
========================================= */
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-size: 14px;
font-weight: 600;
color: #333;
}
.form-group label span {
color: #e53935;
}
.form-control {
width: 100%;
height: 48px;
border: 1px solid #ddd;
border-radius: 9px;
padding: 0 14px;
background: #fff;
color: #333;
font-size: 14px;
transition: all 0.2s ease;
box-shadow: none;
}
.form-control:focus {
border-color: #1473e6;
outline: none;
box-shadow:
0 0 0 3px rgba(20, 115, 230, 0.10);
}
textarea.form-control {
height: auto;
padding-top: 12px;
}
select.form-control {
cursor: pointer;
}
.form-help {
display: block;
margin-top: 6px;
color: #888;
font-size: 12px;
line-height: 1.7;
}
/* =========================================
ALERT
========================================= */
.auth-alert {
display: flex;
gap: 12px;
padding: 15px;
margin-bottom: 25px;
border-radius: 10px;
font-size: 14px;
line-height: 1.8;
}
.auth-alert-danger {
background: #fff1f1;
color: #b42318;
border: 1px solid #ffd5d5;
}
.auth-alert-success {
background: #effbf3;
color: #16733a;
border: 1px solid #ccefd9;
}
.auth-alert i {
margin-top: 4px;
}
.auth-alert ul {
margin: 7px 0 0;
padding-right: 18px;
}
/* =========================================
LOGIN OPTIONS
========================================= */
.login-options {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.remember-me {
display: flex;
align-items: center;
gap: 7px;
cursor: pointer;
font-size: 13px;
color: #666;
}
.remember-me input {
cursor: pointer;
}
/* =========================================
BUTTON
========================================= */
.auth-btn {
width: 100%;
height: 52px;
border: none;
border-radius: 10px;
background: #1473e6;
color: #fff;
font-size: 15px;
font-weight: 700;
cursor: pointer;
transition: all 0.25s ease;
}
.auth-btn:hover {
background: #0d5fc5;
transform: translateY(-1px);
box-shadow:
0 8px 20px rgba(20, 115, 230, 0.22);
}
.auth-btn i {
margin-left: 7px;
}
/* =========================================
FOOTER
========================================= */
.auth-footer {
margin-top: 25px;
padding-top: 22px;
border-top: 1px solid #eee;
text-align: center;
color: #777;
font-size: 14px;
}
.auth-footer a {
color: #1473e6;
font-weight: 700;
text-decoration: none;
margin-right: 5px;
}
.auth-footer a:hover {
text-decoration: underline;
}
/* =========================================
RESPONSIVE
========================================= */
@media (max-width: 767px) {
.auth-page {
padding: 30px 15px;
}
.auth-card {
padding: 25px 18px;
border-radius: 14px;
}
.auth-header h1 {
font-size: 23px;
}
.form-section-title {
font-size: 16px;
}
}