177 lines
3.0 KiB
CSS
177 lines
3.0 KiB
CSS
/* RESET */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Fullscreen background biru */
|
|
body {
|
|
font-family: "Istok Web", sans-serif;
|
|
background-color: #2196f3;
|
|
min-height: 100vh;
|
|
width: 100vw;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Section penuh layar */
|
|
.signin-section {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Container form */
|
|
.signin-container {
|
|
width: 100%;
|
|
max-width: 600px;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
|
|
/* Judul */
|
|
.signin-title {
|
|
font-weight: 700;
|
|
font-size: 40px;
|
|
margin-bottom: 40px;
|
|
color: #fff;
|
|
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
/* Kartu putih */
|
|
.form-card {
|
|
background-color: #ffffff;
|
|
border-radius: 20px;
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
|
|
padding: 60px 70px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 30px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Input */
|
|
.input-group {
|
|
background-color: #f1f5f9;
|
|
border-radius: 10px;
|
|
padding: 10px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
/* Tombol show/hide tanpa kotak */
|
|
.password-wrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.toggle-password {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: none;
|
|
border: none;
|
|
outline: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.eye-icon {
|
|
width: 26px;
|
|
height: 26px;
|
|
background: transparent;
|
|
display: block;
|
|
pointer-events: none;
|
|
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.toggle-password:hover .eye-icon {
|
|
opacity: 0.8;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.input-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.form-input {
|
|
flex: 1;
|
|
border: none;
|
|
background: transparent;
|
|
outline: none;
|
|
font-size: 18px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Tombol */
|
|
.submit-btn {
|
|
margin-top: 30px;
|
|
background-color: #ffffff;
|
|
border: none;
|
|
color: #2290f6;
|
|
font-weight: 700;
|
|
font-size: 20px;
|
|
border-radius: 20px;
|
|
padding: 12px 0;
|
|
width: 100%;
|
|
max-width: 250px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
/* LINK KEMBALI */
|
|
.back-link {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
margin-top: 25px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.back-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* RESPONSIVE */
|
|
@media (max-width: 992px) {
|
|
.form-card {
|
|
padding: 40px 50px;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.signin-title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.form-card {
|
|
padding: 30px 25px;
|
|
width: 90%;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 200px;
|
|
font-size: 18px;
|
|
}
|
|
}
|