/* Default Style */
.app-info-table {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Fix for Default Style Alignment */
.app-info-default {
    background: #fff; /* Match article background (usually white) */
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    /* Attempt to pull the box out so text aligns with content */
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
}

@media (min-width: 768px) {
    .app-info-default {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

.app-info-default .app-info-header {
    font-size: 1.1em;
    font-weight: bold;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #495057;
}

.app-info-default .app-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.app-info-default .app-info-list li {
    width: 50%;
    padding: 5px 0;
    box-sizing: border-box;
    font-size: 0.95em;
    color: #6c757d;
}

.app-info-default .app-info-list li .label {
    font-weight: 600;
    color: #343a40;
    margin-right: 5px;
}

/* Clean Style (No Background) */
.app-info-clean {
    background: transparent;
    border: none;
    padding: 10px 0;
}

.app-info-clean .app-info-header {
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.app-info-clean .app-info-header small {
    font-size: 0.6em;
    background: #eee;
    color: #666;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    font-weight: normal;
    vertical-align: middle;
}

.app-info-clean .app-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.app-info-clean .app-info-list li {
    width: 50%;
    padding: 8px 0;
    box-sizing: border-box;
    font-size: 0.95em;
    color: #555;
    border-bottom: 1px dashed #f0f0f0;
}

.app-info-clean .app-info-list li .label {
    font-weight: bold;
    color: #333;
    margin-right: 8px;
}

.app-info-clean .app-info-desc {
    margin-top: 15px;
    padding: 10px;
    background: #fff5f5;
    border-left: 3px solid #ff6b6b;
    color: #c0392b;
    font-size: 0.9em;
    border-radius: 0 4px 4px 0;
}

/* Card Style */
.app-info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.app-info-card .app-info-title {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.app-info-card .app-version {
    background: #e7f5ff;
    color: #007bff;
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

.app-info-card .app-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    background: #fafafa;
    padding: 15px;
    border-radius: 8px;
}

.app-info-card .app-info-item {
    text-align: center;
    font-size: 0.9em;
    font-weight: 500;
}

.app-info-card .app-info-item span {
    display: block;
    font-size: 0.8em;
    color: #999;
    margin-bottom: 4px;
    font-weight: normal;
}

.app-info-card .app-info-footer {
    font-size: 0.85em;
    color: #999;
    text-align: right;
    margin-top: 10px;
}

.app-info-card .app-info-desc {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

/* Minimal Style */
.app-info-minimal {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
    border: 1px solid #eee;
}

.app-info-minimal td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.app-info-minimal tr:last-child td {
    border-bottom: none;
}

.app-info-minimal td:first-child {
    width: 100px;
    background: #f9f9f9;
    color: #666;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .app-info-default .app-info-list li {
        width: 100%;
    }
    
    .app-info-clean .app-info-list li {
        width: 100%;
    }

    .app-info-card .app-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
