body { font-family: 'Segoe UI', sans-serif; background-color: #d1e3f8; margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
        .container { width: 100%; min-height: 400px; max-width: 500px; background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin: 20px; font-family: poppins; }
        .login-box { text-align: center; }
        .login-box input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }
        .btn-login { width: 100%; background: #007bff; color: white; border: none; padding: 12px; border-radius: 6px; font-weight: bold; cursor: pointer; margin-top: 30px; }
        h2 { text-align: center; font-size: 1.3em; border-bottom: 2px solid #333; padding-bottom: 10px; margin-top: 0; margin-bottom: 30px; }
        .user-bar { height: 52px; background: #f8f9fa; padding: 10px 20px; margin: -26px -26px 25px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #ddd; font-size: 0.85em; border-radius: 15px 15px 0 0; }
        .section-title { font-weight: bold; margin: 15px 0 10px; display: block; text-align: center; background: #eee; padding: 5px; border-radius: 4px; font-size: 0.9em; }
        .service-selection { display: flex; gap: 10px; margin-bottom: 25px; }
        .btn-service { flex: 1; padding: 12px; border: 2px solid #ccc; border-radius: 8px; cursor: pointer; font-weight: bold; background: #fff; transition: 0.3s; }
        .btn-service.active { border-color: #007bff; background: #e7f1ff; color: #007bff; }
        .form-group { margin-bottom: 8px; display: flex; align-items: center; font-family: poppins; }
        .form-group label { width: 100px; font-size: 0.85em; }
        .form-group input, .form-group textarea, .dropdown-btn { flex: 1; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 0.9em; }
        .dropdown-wrapper { position: relative; flex: 1; display: flex; }
        .dropdown-btn { cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: white; font-weight: 400; }
        .dropdown-content { display: none; position: absolute; z-index: 100; background: #fff; border: 1px solid #000; width: 100%; top: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .dropdown-content.show { display: block; }
        .slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 8px; }
        .slot-item { padding: 8px 0; text-align: center; border: 1px solid #ddd; border-radius: 3px; cursor: pointer; font-size: 0.75em; font-weight: bold; }
        .slot-item:hover, .slot-item.active { background: #007bff; color: white; }
        .btn-action { width: 100%; padding: 14px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; margin-top: 10px; font-size: 1em; color: white; transition: 0.2s; }
        .btn-copy { background-color: #333; }
        .btn-remote { background-color: #28a745; }
        .loading {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
    .sn-wrapper{
    display:flex;
    gap:8px;
    flex:1;
    align-items:center;
}

.sn-wrapper input,
.sn-wrapper select{
    flex:1;
    padding:8px;
    border:1px solid #ccc;
    border-radius:4px;
    min-width:0;
}

.btn-action:disabled{
    opacity:0.6;
    cursor:not-allowed;
    pointer-events:none;
}

.sn-actions{
    display:flex;
    gap:5px;
    flex-shrink:0;
}

.sn-actions button{
    padding:8px 8px;
    font-size:12px;
    white-space:nowrap;
}
        .footer { 
	        text-align: center; 
	        margin-top: 20px; 
	        font-size: 12px; 
	        color: #999; 
            clear: both;
            padding: 20px;
	        transition: .3s;
        }
        .error-msg { color: #dc3545; background: #f8d7da; padding: 10px; border-radius: 4px; font-size: 0.8em; margin-bottom: 15px; text-align: center; }
        @media screen and (max-width: 768px){

            .user-bar{
                position:fixed;
                top:0;
                left:0;
                right:0;
                z-index:999;
                margin:0;
                border-radius:0;
            }
        }
        *{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ================= LOGIN ================= */

.login-wrapper{
    width:100%;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.login-card{
    width:100%;
    max-width:420px;
    background:rgba(11,33,112,.85);
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:35px;
    backdrop-filter:blur(10px);
    box-shadow:
        0 15px 35px rgba(0,0,0,.35);
}

.logo-area{
    text-align:center;
    margin-bottom:30px;
    margin-top: -20px;
}

.logo-area img{
    width:220px;
    max-width:100%;
    margin-bottom:10px;
}

.logo-area h1{
    color:#fff;
    font-size: 1.8em;
    font-weight:700;
    line-height:1.2;
    border-top: 1px solid #fff;
    padding-top: 4px;
}

.login-form{
    margin-top:10px;
}

.input-group{
    margin-bottom:22px;
}

.input-group label{
    display:block;
    color:#fff;
    font-size:15px;
    margin-bottom:8px;
    font-weight:600;
}

.input-group input{
    width:100%;
    height:44px;
    border:none;
    outline:none;
    border-radius:8px;
    padding:0 16px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:16px;
    border:1px solid rgba(255,255,255,.06);
}

.input-group input:focus{
    border-color:#3b82f6;
    background:rgba(255,255,255,.12);
}

.password-box{
    position:relative;
}

.password-box input{
    padding-right:55px;
}

.toggle-pass{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#cfd8ff;
    font-size:18px;
    user-select:none;
}

.remember-box{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:5px;
    margin-bottom:28px;
}

.remember-box label{
    color:#fff;
    font-size:14px;
}

.remember-box input{
    width:16px;
    height:16px;
}

.btn-login{
    width:100%;
    height:56px;
    border:none;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.btn-login:hover{
    background:#1d4ed8;
    transform:translateY(-1px);
}

.error-msg{
    background:rgba(6,2,2,.2);
    border:1px solid rgba(220,53,69,.4);
    color: #dcd8fb;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
    text-align:center;
    font-size:14px;
}

/* ================= PANEL ================= */

.section-title{
    font-weight:bold;
    margin:15px 0 10px;
    display:block;
    text-align:center;
    background:#eee;
    padding:5px;
    border-radius:4px;
    font-size:.9em;
}