Files
warfle_webpage/src/pages/Auth.css
2025-11-25 00:43:00 +05:30

170 lines
2.6 KiB
CSS

.auth-container {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #000000 0%, #333333 100%);
padding: 20px;
}
.auth-card {
background: #000;
border-radius: 12px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
width: 100%;
max-width: 450px;
padding: 40px;
animation: slideIn 0.5s ease-out;
border: 2px solid #FFB400;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.auth-header {
text-align: center;
margin-bottom: 30px;
}
.auth-logo {
text-align: center;
margin-bottom: 20px;
}
.auth-logo-img {
max-width: 60px;
height: auto;
filter: brightness(0) invert(1);
}
.auth-header h2 {
color: #FFB400;
font-size: 28px;
font-weight: 600;
margin: 0;
}
.auth-form {
margin-bottom: 20px;
}
.form-row {
display: flex;
gap: 15px;
}
.form-row .form-group {
flex: 1;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: #FFB400;
font-weight: 500;
}
.form-group input {
width: 100%;
padding: 12px 16px;
border: 2px solid #FFB400;
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s ease, background-color 0.3s ease;
background-color: #111;
color: #FFB400;
}
.form-group input:focus {
outline: none;
border-color: #FFC107;
box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
background-color: #222;
}
.error-message {
background: #ff4444;
color: #fff;
padding: 10px;
border-radius: 6px;
margin-bottom: 20px;
font-size: 14px;
text-align: center;
}
.auth-button {
width: 100%;
padding: 14px;
background: linear-gradient(135deg, #FFB400 0%, #FFC107 100%);
color: #000;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.auth-button:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}
.auth-button:disabled {
opacity: 0.7;
cursor: not-allowed;
}
.auth-toggle {
text-align: center;
margin-top: 20px;
}
.auth-toggle p {
color: #FFB400;
margin: 0;
font-size: 14px;
}
.toggle-button {
background: none;
border: none;
color: #FFB400;
font-weight: 600;
cursor: pointer;
text-decoration: underline;
margin-left: 5px;
transition: color 0.2s ease;
}
.toggle-button:hover {
color: #FFC107;
}
@media (max-width: 480px) {
.auth-container {
padding: 10px;
}
.auth-card {
padding: 30px 20px;
}
.form-row {
flex-direction: column;
gap: 0;
}
}