/* css/microsoft.css */
/* Microsoft Office Windows Styling */

.microsoft-window {
    width: 380px !important;
    height: 500px !important;
    min-width: 380px !important;
    max-width: 380px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    background: #F4F2F2;
    backdrop-filter: none;
    resize: none !important;
}

.microsoft-window .title-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.microsoft-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: visible;
    background: #F9F6F7;
}

.microsoft-app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 30px;
    gap: 12px;
    background: transparent;
}

.microsoft-app-icon {
    flex-shrink: 0;
}

.microsoft-app-icon .app-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.microsoft-app-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.microsoft-app-info .app-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.2;
}

.microsoft-app-info .app-version {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.3;
}

.microsoft-app-info .app-status {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #B30000;
    margin: 0;
    line-height: 1.3;
}

.microsoft-app-info .app-license {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.3;
}

.microsoft-app-info .app-owner {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.3;
}

.microsoft-app-info .app-copyright {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1d1d1f;
    margin: 8px 0 0 0;
    line-height: 1.3;
}

.microsoft-app-info .app-more-info {
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 8px;
    color: #007aff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 12px;
    margin: 8px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: center;
    text-decoration: none;
    display: inline-block;
}

.microsoft-app-info .app-more-info:hover {
    background: rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.4);
}

.microsoft-app-info .app-renew-button {
    background: rgb(230, 230, 230);
    border: none;
    border-radius: 6px;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 10px;
    margin: 16px 0 4px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.microsoft-app-info .app-renew-button:hover {
    background: rgb(192, 192, 192);
}

.microsoft-app-notice {
    background: transparent;
    padding: 4px 25px 15px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.microsoft-app-notice .notice-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #6e6e73;
    line-height: 1.4;
    text-align: center;
    max-width: 320px;
    margin: 0;
}

/* Traffic lights - Microsoft windows specific behavior */
.microsoft-window .dot.red {
    background-color: #ff5f57;
    cursor: pointer;
}

.microsoft-window .dot.yellow,
.microsoft-window .dot.green {
    background-color: #c4c4c4 !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* Focus states for red traffic light only */
.microsoft-window.focused .dot.red {
    background-color: #ff5f57;
}

.microsoft-window.focused .dot.yellow,
.microsoft-window.focused .dot.green {
    background-color: #c4c4c4 !important;
}

.microsoft-window:not(.focused) .dot.red,
.microsoft-window:not(.focused) .dot.yellow,
.microsoft-window:not(.focused) .dot.green {
    background-color: #c4c4c4;
}

/* Hover effects - only for red dot */
.microsoft-window .dot.red:hover {
    background-color: #ff3b30;
}

.microsoft-window .dot.yellow:hover,
.microsoft-window .dot.green:hover {
    background-color: #c4c4c4 !important;
}

/* Hide symbols for yellow and green dots */
.microsoft-window .dot.yellow .dot-symbol,
.microsoft-window .dot.green .dot-symbol {
    display: none !important;
}

.microsoft-window .dot.yellow:hover .dot-symbol,
.microsoft-window .dot.green:hover .dot-symbol {
    display: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .microsoft-window {
        width: 380px !important;
        height: 500px !important;
        min-width: 380px !important;
        max-width: 380px !important;
        min-height: 500px !important;
        max-height: 500px !important;
    }
    
    .microsoft-app-container {
        padding: 15px 20px;
    }
    
    .microsoft-app-info .app-name {
        font-size: 18px;
    }
    
    .microsoft-app-notice {
        padding: 0px 15px 12px 15px;
    }
} 