176 lines
3.1 KiB
CSS
176 lines
3.1 KiB
CSS
/* Authentication Page Styles */
|
|
.auth-page {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
padding: 20px;
|
|
}
|
|
|
|
.auth-container {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
padding: 30px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.auth-container h2 {
|
|
margin-top: 0;
|
|
margin-bottom: 24px;
|
|
text-align: center;
|
|
color: #333;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
color: #555;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
border-color: #6366f1;
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
.error-message {
|
|
color: #dc2626;
|
|
margin-bottom: 20px;
|
|
font-size: 14px;
|
|
background-color: #fee2e2;
|
|
padding: 8px 12px;
|
|
border-radius: 4px;
|
|
border-left: 3px solid #dc2626;
|
|
}
|
|
|
|
.auth-button {
|
|
width: 100%;
|
|
background-color: #6366f1;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 12px 16px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.auth-button:hover {
|
|
background-color: #4f46e5;
|
|
}
|
|
|
|
.auth-button:disabled {
|
|
background-color: #9ca3af;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.auth-toggle {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.auth-toggle button {
|
|
background: none;
|
|
border: none;
|
|
color: #6366f1;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.auth-toggle button:hover {
|
|
color: #4f46e5;
|
|
}
|
|
|
|
.auth-toggle button:disabled {
|
|
color: #9ca3af;
|
|
cursor: not-allowed;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.auth-container.loading,
|
|
.auth-container.error {
|
|
text-align: center;
|
|
padding: 40px 30px;
|
|
}
|
|
|
|
.auth-loading {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
/* Profile Component Styles */
|
|
.profile-container {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
padding: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.profile-header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.profile-header h3 {
|
|
margin: 0;
|
|
color: #333;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.profile-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.logout-button {
|
|
background-color: #ef4444;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.logout-button:hover {
|
|
background-color: #dc2626;
|
|
}
|
|
|
|
.backup-reminder {
|
|
margin-top: 16px;
|
|
padding: 12px;
|
|
background-color: #fffbeb;
|
|
border-radius: 4px;
|
|
border-left: 3px solid #f59e0b;
|
|
}
|
|
|
|
.backup-reminder p {
|
|
margin: 0;
|
|
color: #92400e;
|
|
font-size: 14px;
|
|
} |