* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Connection Screen */
.connection-screen {
    background: #1e3a5f;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.connection-screen h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.connection-screen p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-orange {
    background: #ff8c42;
    color: white;
}

.btn-blue {
    background: #4285f4;
    color: white;
}

.btn-green {
    background: #398d4e;
    color: white;
}

.system-info {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.status-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-connected {
    background: #38a169;
    color: white;
}

.status-disconnected {
    background: #e53e3e;
    color: white;
}

/* Header with dropdown */
.header-with-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #2b6cb0;
    color: white;
    padding: 8px 14px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.dropbtn:hover {
    background-color: #2c5282;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #1e3a5f;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #2c5282;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}