* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #f1f1f1;
}

#app {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: #000;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    border-bottom: 4px solid #fcb900;
}

header h1 {
    font-size: 2.2rem;
    color: #fcb900;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    color: #abb8c3;
}

main {
    display: block;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

.tab-btn {
    padding: 12px 28px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #abb8c3;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #333;
}

.tab-btn.active {
    color: #333;
    border-bottom-color: #fcb900;
}

.demo-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border-left: 4px solid #abb8c3;
}

.demo-item:not(.placeholder) {
    cursor: pointer;
}

.demo-item:not(.placeholder):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-left-color: #fcb900;
}

.demo-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    display: block;
}

.demo-item:not(.placeholder):hover .demo-title {
    color: #ff6900;
}

.demo-item.placeholder .demo-title {
    color: #4a4a4a;
}

.demo-description {
    color: #4a4a4a;
    font-size: 0.95rem;
    display: block;
}

.demo-item.placeholder .demo-description {
    color: #abb8c3;
}

/* Footer */
.demo-footer {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    color: #4a4a4a;
    font-size: 0.9rem;
}

.demo-footer a {
    color: #ff6900;
    text-decoration: none;
}

.demo-footer a:hover {
    text-decoration: underline;
}

/* Internal badge */
.internal-badge {
    display: inline-block;
    background: #cf2e2e;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: 600;
    text-transform: uppercase;
}

/* Authentication Screen */
.auth-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.auth-box {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.auth-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fcb900;
    margin-bottom: 10px;
}

.auth-box h2 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.auth-box p {
    color: #4a4a4a;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.auth-error {
    display: none;
    background: #ffebee;
    color: #cf2e2e;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.google-signin-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid #ddd;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.google-signin-btn:hover {
    border-color: #4285F4;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.2);
}

.auth-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #abb8c3;
}

/* User info bar */
.user-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fcb900;
}

.user-name {
    color: #fff;
    font-size: 0.9rem;
}

.sign-out-btn {
    background: transparent;
    border: 1px solid #abb8c3;
    color: #abb8c3;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.sign-out-btn:hover {
    border-color: #fcb900;
    color: #fcb900;
}
