diff --git a/TaxBaik.Web/Components/Admin/Pages/Login.razor b/TaxBaik.Web/Components/Admin/Pages/Login.razor
index 5a06fdd..08fe249 100644
--- a/TaxBaik.Web/Components/Admin/Pages/Login.razor
+++ b/TaxBaik.Web/Components/Admin/Pages/Login.razor
@@ -10,7 +10,7 @@
-
+
관리자 로그인
diff --git a/TaxBaik.Web/wwwroot/css/admin.css b/TaxBaik.Web/wwwroot/css/admin.css
index 9626e50..e7aa498 100644
--- a/TaxBaik.Web/wwwroot/css/admin.css
+++ b/TaxBaik.Web/wwwroot/css/admin.css
@@ -44,47 +44,45 @@ html, body {
margin-left: 12px !important;
}
-/* MudContainer */
-.mud-container {
+/* Login page scoped fallback styles. Keep these scoped so they do not override MudBlazor globally. */
+.admin-login-page.mud-container {
width: 100%;
margin: 0 auto;
}
-.mud-container-maxwidth-small {
+.admin-login-page.mud-container-maxwidth-small {
max-width: 600px !important;
}
-/* MudPaper */
-.mud-paper {
+.admin-login-page .mud-paper {
background-color: white;
border-radius: 4px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12);
padding: 16px;
}
-.mud-paper.elevation-3 {
+.admin-login-page .mud-paper.elevation-3 {
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}
-/* MudText */
-.mud-typography {
+.admin-login-page .mud-typography {
color: #333;
line-height: 1.5;
}
-.mud-typography--h4 {
+.admin-login-page .mud-typography--h4 {
font-size: 2.125rem;
font-weight: 500;
color: #1976d2;
}
-.mud-typography--body1 {
+.admin-login-page .mud-typography--body1 {
font-size: 1rem;
}
/* Form Elements */
-input[type="text"],
-input[type="password"] {
+.admin-login-page input[type="text"],
+.admin-login-page input[type="password"] {
width: 100%;
padding: 12px;
margin-bottom: 12px;
@@ -95,14 +93,14 @@ input[type="password"] {
transition: border-color 0.3s;
}
-input[type="text"]:focus,
-input[type="password"]:focus {
+.admin-login-page input[type="text"]:focus,
+.admin-login-page input[type="password"]:focus {
outline: none;
border-color: #1976d2;
box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}
-label {
+.admin-login-page label {
display: block;
margin-bottom: 6px;
font-weight: 500;
@@ -110,8 +108,8 @@ label {
font-size: 0.875rem;
}
-/* MudButton */
-button {
+/* Login button fallback. Do not apply this to all admin buttons. */
+.admin-login-page button {
width: 100%;
padding: 12px 24px;
margin-top: 12px;
@@ -125,17 +123,17 @@ button {
transition: background-color 0.3s;
}
-button:hover {
+.admin-login-page button:hover {
background-color: #1565c0;
}
-button:disabled {
+.admin-login-page button:disabled {
background-color: #bdbdbd;
cursor: not-allowed;
}
/* MudAlert */
-.mud-alert {
+.admin-login-page .mud-alert {
padding: 12px 16px;
margin-bottom: 16px;
border-radius: 4px;
@@ -144,23 +142,23 @@ button:disabled {
color: #c62828;
}
-.mud-alert--error {
+.admin-login-page .mud-alert--error {
background-color: #ffebee;
color: #c62828;
}
-.mud-alert--success {
+.admin-login-page .mud-alert--success {
background-color: #e8f5e9;
color: #2e7d32;
}
-.mud-alert--info {
+.admin-login-page .mud-alert--info {
background-color: #e3f2fd;
color: #1565c0;
}
/* Progress Circle */
-.mud-progress-circular {
+.admin-login-page .mud-progress-circular {
display: inline-block;
}
@@ -206,12 +204,12 @@ button:disabled {
/* Responsive */
@media (max-width: 600px) {
- .mud-container-maxwidth-small {
+ .admin-login-page.mud-container-maxwidth-small {
max-width: 100% !important;
padding: 16px;
}
- .mud-typography--h4 {
+ .admin-login-page .mud-typography--h4 {
font-size: 1.5rem;
}
}