:root {
    --bg-color: #121212;
    --card-bg: rgba(30, 30, 30, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #3b82f6; /* Blue like in the screenshots */
    --accent-hover: #2563eb;
    --error-color: #ef4444;
    --success-color: #10b981;
    --border-radius: 12px;
    --input-bg: #2a2a2a;
    --input-border: #404040;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: radial-gradient(circle at top right, #1e1e24 0%, #121212 100%);
}

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

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-icon {
    font-size: 40px;
    font-weight: bold;
    background: #000;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.logo-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

h2 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-google {
    background-color: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-google:hover {
    background-color: #f1f1f1;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--input-border);
    color: var(--text-secondary);
    margin-top: 10px;
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.footer-text {
    margin-top: 30px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-text a {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* Dashboard specific */
.dashboard-container {
    max-width: 800px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mac-list {
    list-style: none;
    margin-top: 20px;
}

.mac-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mac-info {
    text-align: left;
}

.mac-address {
    font-family: monospace;
    font-size: 16px;
    color: var(--text-primary);
}

.mac-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-delete {
    background-color: transparent;
    color: var(--error-color);
    border: 1px solid var(--error-color);
    padding: 6px 12px;
    font-size: 14px;
    width: auto;
}

.btn-delete:hover {
    background-color: var(--error-color);
    color: white;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal.active {
    display: flex;
}

.switch-mode {
    position: absolute;
    top: 20px;
    right: 20px;
}

.hidden {
    display: none;
}
