body {
    font-family: Arial, sans-serif;
    background-color: #f1f3f5;
}

.container {
    width: 600px;
    margin: 80px auto;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px 15px 10px;
    font-weight: bold;
    font-size: 20px;
}


.logo-krr {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.card-header {
    padding: 15px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    background: #f7f7f7;
}

.card-body {
    padding: 20px;
}

.input-group {
    display: flex;
    margin-bottom: 12px;
}

.input-group .icon {
    background: #e9ecef;
    padding: 10px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-right: none;
}

.input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: border-color .2s ease;
}

.input-group input:focus {
    border-color: #3b82c4;
}

.input-error {
    border: 1px solid #dc3545 !important;
    background-color: #fff5f5;
}

.error {
    color: #dc3545;
    font-size: 14px;
    margin-bottom: 10px;
}

.success {
    color: #198754;
    margin-bottom: 10px;
}

/* ===== BUTTON ===== */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    margin-top: 10px;
    transition: background .2s ease, box-shadow .2s ease;
}

.btn-login {
    background: #3b82c4;
    font-size: 16px;
}

.btn-login:hover,
.btn-login:focus,
.btn-login:focus-visible {
    background: #2f6fa3;
    color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,196,0.25);
}

.btn-register {
    background: #343a40;
    font-size: 16px;
}

.btn-register:hover,
.btn-register:focus,
.btn-register:focus-visible {
    background: #23272b;
    color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52,58,64,0.2);
}

.modal-title {
    text-align: center;
    margin-bottom: 20px;
}

.input-modal {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-close {
    margin-top: 10px;
    padding: 10px;
    width: 150px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-close:hover {
    background: #5a6268;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    display: flex;
    align-items: center;
}

.toggle-password:hover {
    color: #333;
}
