body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.phone-frame {
    width: 375px; /* Common phone width */
    height: 812px; /* Common phone height */
    background-color: #333;
    border-radius: 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4), inset 0 0 5px rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.screen {
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background-image: url('/abstract_stripes_yellow.png'); /* Using a background image */
    background-size: cover;
    background-position: center;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

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

.battery-icon {
    height: 15px; /* Adjust size as needed */
    width: auto;
    filter: invert(1); /* To make it visible on a light background if it's black/white */
}

.app-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(auto-fill, minmax(100px, 1fr)); /* Adjust row height */
    gap: 15px;
    padding: 20px;
    align-content: flex-start; /* Aligns content to the start of the grid */
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    color: #333;
}

.app-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px; /* Slightly rounded corners for app icons */
    object-fit: contain; /* Ensure the image fits within the bounds */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-icon span {
    margin-top: 5px;
    word-break: break-word;
    font-size: 0.75em;
    font-weight: 500;
}

.dock {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 90px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(200, 200, 200, 0.5);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 0 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.dock .app-icon img {
    width: 65px; /* Slightly larger icons in dock */
    height: 65px;
    border-radius: 15px;
}

.dock .app-icon span {
    display: none; /* Hide text labels in the dock for a cleaner look */
}

