File size: 2,185 Bytes
4b54973 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | .password-protection {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 20px;
}
.password-container {
background: white;
border-radius: 16px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
padding: 40px;
width: 100%;
max-width: 400px;
text-align: center;
}
.password-header {
margin-bottom: 30px;
}
.password-header h1 {
color: #2c3e50;
font-size: 2rem;
margin-bottom: 10px;
font-weight: 700;
}
.password-header p {
color: #7f8c8d;
font-size: 1rem;
margin: 0;
}
.password-form {
display: flex;
flex-direction: column;
gap: 20px;
}
.password-input-group {
text-align: left;
}
.password-input-group label {
display: block;
color: #2c3e50;
font-weight: 600;
margin-bottom: 8px;
}
.password-input-group input {
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 1rem;
transition: all 0.3s ease;
box-sizing: border-box;
}
.password-input-group input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.password-input-group input:disabled {
background-color: #f8f9fa;
cursor: not-allowed;
}
.password-error {
background-color: #fee;
border: 1px solid #f5c6cb;
color: #721c24;
padding: 12px;
border-radius: 6px;
font-size: 0.9rem;
}
.password-submit {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 14px 24px;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.password-submit:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.password-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.password-footer {
margin-top: 30px;
color: #95a5a6;
}
.password-footer small {
font-size: 0.85rem;
line-height: 1.4;
}
@media (max-width: 480px) {
.password-container {
padding: 30px 20px;
margin: 20px;
}
.password-header h1 {
font-size: 1.75rem;
}
} |