body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ogm-container {
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ogm-upload-box {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.ogm-file-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.ogm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ogm-btn:active {
    transform: scale(0.98);
}

.ogm-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.ogm-btn-primary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.ogm-btn-primary:hover {
    background-color: #e8e8e8;
}

.ogm-plus-icon {
    font-size: 20px;
    font-weight: bold;
    margin-right: 8px;
}

.ogm-drag-drop-text {
    color: #888;
}

.ogm-upload-hint {
    font-size: 12px;
    color: #999;
    margin-top: 1rem;
}

#ogm-file-list-wrapper {
    padding: 0;
}

#ogm-file-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ogm-file-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.ogm-file-item:last-child {
    border-bottom: none;
}

.ogm-file-item-icon {
    margin-right: 1rem;
    color: #7c5cff;
}

.ogm-file-name {
    flex-grow: 1;
    font-size: 14px;
    color: #333;
}

.ogm-file-size {
    font-size: 14px;
    color: #888;
    margin: 0 1.5rem;
}

.ogm-remove-file-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
}
.ogm-remove-file-btn:hover {
    color: #333;
}

#ogm-options-wrapper {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    background: #f9f9f9;
    display: flex;
    gap: 2rem;
}
.ogm-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ogm-option label {
    font-size: 14px;
    color: #555;
}
.ogm-option input {
    width: 80px;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.ogm-footer {
    padding: 1.5rem;
    background: #f1f1f1;
    display: flex;
    justify-content: flex-end;
}

.ogm-btn-danger {
    background-color: #e53e3e;
    color: white;
}
.ogm-btn-danger:hover:not(:disabled) {
    background-color: #c53030;
}

.ogm-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 18px;
    height: 18px;
    animation: ogm-spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes ogm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#ogm-status-area {
    padding: 1rem 1.5rem;
    text-align: center;
}
.ogm-status {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}
.ogm-status-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.ogm-status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.ogm-download-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.ogm-download-link:hover {
    background-color: #218838;
} 