HINTECH / static /auth.css
Factor Studios
Upload 73 files
aaaaa79 verified
/* Authentication Page Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
overflow-x: hidden;
}
/* Background Animation */
.background-animation {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
overflow: hidden;
}
.floating-shapes {
position: relative;
width: 100%;
height: 100%;
}
.shape {
position: absolute;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
animation: float 20s infinite linear;
}
.shape-1 {
width: 80px;
height: 80px;
top: 20%;
left: 10%;
animation-delay: 0s;
}
.shape-2 {
width: 120px;
height: 120px;
top: 60%;
left: 80%;
animation-delay: 5s;
}
.shape-3 {
width: 60px;
height: 60px;
top: 80%;
left: 20%;
animation-delay: 10s;
}
.shape-4 {
width: 100px;
height: 100px;
top: 30%;
left: 70%;
animation-delay: 15s;
}
.shape-5 {
width: 140px;
height: 140px;
top: 10%;
left: 50%;
animation-delay: 8s;
}
@keyframes float {
0% {
transform: translateY(0px) rotate(0deg);
opacity: 0.7;
}
50% {
transform: translateY(-100px) rotate(180deg);
opacity: 0.3;
}
100% {
transform: translateY(0px) rotate(360deg);
opacity: 0.7;
}
}
/* Container */
.auth-container {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Header */
.auth-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.logo {
display: flex;
align-items: center;
gap: 12px;
color: white;
}
.logo i {
font-size: 32px;
color: #ffd700;
}
.logo h1 {
font-size: 28px;
font-weight: 700;
margin: 0;
}
.auth-nav {
display: flex;
gap: 12px;
}
.nav-btn {
padding: 10px 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
background: transparent;
color: white;
border-radius: 25px;
cursor: pointer;
font-weight: 500;
transition: all 0.3s ease;
}
.nav-btn:hover,
.nav-btn.active {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-2px);
}
/* Main Content */
.auth-main {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding: 40px 20px;
}
/* Form Container */
.auth-form-container {
width: 100%;
max-width: 450px;
animation: slideIn 0.5s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.auth-form {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border-radius: 20px;
padding: 40px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
}
/* Form Header */
.form-header {
text-align: center;
margin-bottom: 30px;
}
.form-header h2 {
font-size: 28px;
color: #333;
margin-bottom: 8px;
font-weight: 700;
}
.form-header p {
color: #666;
font-size: 16px;
}
/* Form Groups */
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: #333;
font-weight: 500;
font-size: 14px;
}
.input-group {
position: relative;
display: flex;
align-items: center;
}
.input-group i {
position: absolute;
left: 15px;
color: #666;
z-index: 2;
}
.input-group input {
width: 100%;
padding: 15px 15px 15px 45px;
border: 2px solid #e1e5e9;
border-radius: 12px;
font-size: 16px;
transition: all 0.3s ease;
background: white;
}
.input-group input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.password-toggle {
position: absolute;
right: 15px;
background: none;
border: none;
color: #666;
cursor: pointer;
padding: 5px;
z-index: 2;
}
.password-toggle:hover {
color: #333;
}
/* Field Hints */
.field-hint {
font-size: 12px;
color: #666;
margin-top: 5px;
}
/* Password Strength */
.password-strength {
margin-top: 8px;
}
.strength-bar {
height: 4px;
background: #e1e5e9;
border-radius: 2px;
overflow: hidden;
margin-bottom: 5px;
}
.strength-fill {
height: 100%;
width: 0%;
background: #e74c3c;
transition: all 0.3s ease;
border-radius: 2px;
}
.strength-text {
font-size: 12px;
color: #666;
}
/* Form Options */
.form-options {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
}
.checkbox-container {
display: flex;
align-items: center;
cursor: pointer;
font-size: 14px;
color: #333;
}
.checkbox-container input {
display: none;
}
.checkmark {
width: 18px;
height: 18px;
border: 2px solid #e1e5e9;
border-radius: 4px;
margin-right: 8px;
position: relative;
transition: all 0.3s ease;
}
.checkbox-container input:checked + .checkmark {
background: #667eea;
border-color: #667eea;
}
.checkbox-container input:checked + .checkmark::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 12px;
font-weight: bold;
}
.forgot-password {
color: #667eea;
text-decoration: none;
font-size: 14px;
font-weight: 500;
}
.forgot-password:hover {
text-decoration: underline;
}
/* Subscription Options */
.subscription-options {
display: flex;
flex-direction: column;
gap: 12px;
}
.radio-option {
display: flex;
align-items: center;
padding: 15px;
border: 2px solid #e1e5e9;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
}
.radio-option:hover {
border-color: #667eea;
background: rgba(102, 126, 234, 0.05);
}
.radio-option input {
display: none;
}
.radio-custom {
width: 20px;
height: 20px;
border: 2px solid #e1e5e9;
border-radius: 50%;
margin-right: 12px;
position: relative;
transition: all 0.3s ease;
}
.radio-option input:checked + .radio-custom {
border-color: #667eea;
background: #667eea;
}
.radio-option input:checked + .radio-custom::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 8px;
height: 8px;
background: white;
border-radius: 50%;
}
.option-content {
display: flex;
flex-direction: column;
}
.option-content strong {
color: #333;
font-weight: 600;
margin-bottom: 2px;
}
.option-content span {
color: #666;
font-size: 12px;
}
/* Buttons */
.auth-btn {
width: 100%;
padding: 15px;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.auth-btn.primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.auth-btn.primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
.auth-btn.primary:active {
transform: translateY(0);
}
.auth-btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none !important;
}
.btn-loader {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* Form Footer */
.form-footer {
text-align: center;
margin-top: 25px;
padding-top: 20px;
border-top: 1px solid #e1e5e9;
}
.form-footer p {
color: #666;
font-size: 14px;
}
.form-footer a {
color: #667eea;
text-decoration: none;
font-weight: 500;
}
.form-footer a:hover {
text-decoration: underline;
}
/* Alert Messages */
.alert-container {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
max-width: 400px;
}
.alert {
padding: 15px 20px;
border-radius: 12px;
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 12px;
animation: slideInRight 0.3s ease-out;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(100%);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.alert.success {
background: #d4edda;
color: #155724;
border-left: 4px solid #28a745;
}
.alert.error {
background: #f8d7da;
color: #721c24;
border-left: 4px solid #dc3545;
}
.alert.warning {
background: #fff3cd;
color: #856404;
border-left: 4px solid #ffc107;
}
.alert.info {
background: #d1ecf1;
color: #0c5460;
border-left: 4px solid #17a2b8;
}
.alert i {
font-size: 18px;
}
.alert-close {
margin-left: auto;
background: none;
border: none;
font-size: 18px;
cursor: pointer;
opacity: 0.7;
color: inherit;
}
.alert-close:hover {
opacity: 1;
}
/* Features Section */
.features-section {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 60px 20px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.features-container {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.features-container h3 {
color: white;
font-size: 32px;
margin-bottom: 40px;
font-weight: 700;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.feature-item {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 30px 20px;
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.2);
transition: all 0.3s ease;
}
.feature-item:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.15);
}
.feature-item i {
font-size: 48px;
color: #ffd700;
margin-bottom: 20px;
}
.feature-item h4 {
color: white;
font-size: 20px;
margin-bottom: 10px;
font-weight: 600;
}
.feature-item p {
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
line-height: 1.5;
}
/* Responsive Design */
@media (max-width: 768px) {
.auth-header {
padding: 15px 20px;
flex-direction: column;
gap: 15px;
}
.logo h1 {
font-size: 24px;
}
.auth-form {
padding: 30px 25px;
margin: 0 10px;
}
.form-header h2 {
font-size: 24px;
}
.form-options {
flex-direction: column;
gap: 15px;
align-items: flex-start;
}
.features-container h3 {
font-size: 28px;
}
.features-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.alert-container {
left: 20px;
right: 20px;
max-width: none;
}
}
@media (max-width: 480px) {
.auth-main {
padding: 20px 10px;
}
.auth-form {
padding: 25px 20px;
}
.input-group input {
padding: 12px 12px 12px 40px;
font-size: 14px;
}
.auth-btn {
padding: 12px;
font-size: 14px;
}
}
/* Loading States */
.loading .btn-text {
opacity: 0;
}
.loading .btn-loader {
display: block !important;
}
/* Validation States */
.input-group.error input {
border-color: #dc3545;
box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}
.input-group.success input {
border-color: #28a745;
box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
.error-message {
color: #dc3545;
font-size: 12px;
margin-top: 5px;
display: flex;
align-items: center;
gap: 5px;
}
.error-message i {
font-size: 12px;
}