/* Main App Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* iPhone Frame */
.iphone-frame {
    width: 375px;
    height: 812px;
    background-color: white;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.app-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Status Bar */
.status-bar {
    height: 44px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    background-color: white;
}

.status-bar-time {
    flex: 1;
}

.status-bar-icons {
    display: flex;
    gap: 5px;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    background-color: white;
    border-top: 1px solid #f1f1f1;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #9CA3AF;
    text-decoration: none;
    padding: 8px 0;
}

.bottom-nav-item.active {
    color: #7C3AED;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav-item span {
    font-size: 12px;
}

.bottom-nav-task {
    position: absolute;
    bottom: 60px;
    left: 20px;
    z-index: 10;
}

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E5E7EB;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
    background-color: #7C3AED;
}

.toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* For the phone frames in landing page */
.phone-frame {
    width: 300px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 640px) {
    .phone-frame {
        width: 280px;
        height: 560px;
    }
}