body {
    margin: 0;
    padding: 0;
    background-color: #e5e5e5;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
}

#app {
    width: 100%;
    max-width: 549px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

/* Setup Screen */
#setup-screen {
    padding: 30px 24px;
    box-sizing: border-box;
    overflow-y: auto;
    background: #fafafa;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
    border-color: #007bff;
}

#btn-confirm {
    width: 100%;
    padding: 14px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

#btn-confirm:hover {
    background: #0b5ed7;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.header .title {
    font-size: 26px;
    font-weight: 400;
    color: #111;
}

.header .actions {
    display: flex;
    gap: 20px;
    color: #111;
}

.header .icon {
    width: 22px;
    height: 22px;
}

/* Call List */
.call-list {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

/* Hide scrollbar for cleaner look */
.call-list::-webkit-scrollbar {
    display: none;
}
.call-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.date-group-header {
    font-size: 14px;
    color: #444;
    padding: 16px 20px 8px;
    font-weight: 500;
}

.call-item {
    display: flex;
    align-items: center;
    padding-left: 20px;
    transition: background-color 0.2s;
}

.call-item:active {
    background-color: #f5f5f5;
}

.call-icon {
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    padding: 12px 0;
}

.call-body {
    flex: 1;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 12px 20px 12px 0;
}

.call-info {
    flex: 1;
}

.phone-number {
    font-size: 16px;
    color: #111;
    font-weight: 400;
}

.call-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sim-icon {
    background-color: #2196F3;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.call-time {
    font-size: 13px;
    color: #666;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.footer .tab {
    font-size: 16px;
    color: #666;
    position: relative;
    padding-bottom: 8px;
    cursor: pointer;
    font-weight: 400;
}

.footer .tab.active {
    color: #000;
        font-weight: 500;
}

.footer .tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: #000;
}

/* Android Nav */
.android-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 16px;
    background: #fff;
}

/* THEME 2 STYLES */
.t2-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
}
.t2-status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}
.t2-top-actions {
    display: flex;
    justify-content: flex-end;
    padding: 10px 24px;
}
.t2-gear {
    width: 22px;
    height: 22px;
    color: #666;
}
.t2-tabs {
    display: flex;
    padding: 0 24px;
    gap: 20px;
    margin-bottom: 20px;
}
.t2-tab {
    font-size: 17px;
    color: #888;
    cursor: pointer;
}
.t2-tab.active {
    color: #1a73e8;
}
.t2-search {
    margin: 0 24px 20px;
    background: #f1f3f4;
    border-radius: 24px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 15px;
}
.t2-filter {
    padding: 0 24px 10px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}
.t2-call-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}
.t2-call-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.t2-phone {
    font-size: 18px;
    color: #222;
    font-weight: 400;
}
.t2-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
}
.t2-missed-icon {
    width: 14px;
    height: 14px;
    color: #d93025;
}
.t2-action-icon {
    width: 18px;
    height: 18px;
    color: #ccc;
    background: #f8f8f8;
    border-radius: 50%;
    padding: 4px;
}
.t2-fab {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1a73e8;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(26,115,232,0.4);
    cursor: pointer;
}

.android-nav svg {
    width: 18px;
    height: 18px;
    color: #888;
}
