/* --- 主面板 --- */
.airg-panel {
    margin-top: 40px;
    padding: 25px;
    border-radius: 16px;
    background: #f7f9fc;
    border: 1px solid #e1e4ea;
}

.airg-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- 按钮卡片 --- */
.airg-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.airg-new-btn {
    flex: 1;
    min-width: 180px;
    padding: 16px;
    background: #fff;
    border: 1px solid #dce1e7;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: 0.25s;
}

.airg-new-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.airg-new-btn small {
    display: block;
    opacity: 0.6;
}

/* --- 弹窗 --- */
.airg-modal {
    display:none;
    position:fixed;
    top:0;left:0;
    width:100%;height:100%;
    background:rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index:100000;
}

.airg-modal-inner {
    width:520px;
    margin:100px auto;
    background:rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    border-radius:16px;
    padding:0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity:0; transform:scale(0.95); }
    to   { opacity:1; transform:scale(1); }
}

.airg-modal-header {
    padding:16px 22px;
    border-bottom:1px solid #e6e9ef;
    display:flex;
    justify-content:space-between;
    font-size:18px;
    font-weight:700;
}

.airg-close {
    cursor:pointer;
    font-size:24px;
}

/* --- 输入区 --- */
.airg-modal-body {
    padding:20px;
}

.airg-label {
    font-size:14px;
    margin-bottom:6px;
    display:block;
    font-weight:600;
}

.airg-input {
    width:100%;
    height:120px;
    padding:12px;
    border-radius:12px;
    border:1px solid #d6dce4;
    font-size:15px;
    resize:none;
    background:rgba(255,255,255,0.6);
}

/* --- 上传 --- */
.airg-upload {
    margin-top:20px;
}

.airg-file {
    padding:8px 0;
}

/* --- 生成按钮 --- */
.airg-generate-btn {
    width:100%;
    margin-top:20px;
    padding:14px;
    font-size:16px;
    border:none;
    border-radius:12px;
    background:#0057ff;
    color:#fff;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(0,87,255,0.3);
    transition:0.25s;
}

.airg-generate-btn:hover {
    background:#2a6fff;
}

/* --- Loading --- */
.airg-loading {
    margin-top:25px;
    text-align:center;
}

.airg-spinner {
    width:32px;
    height:32px;
    border:3px solid #d0d7e2;
    border-top-color:#0057ff;
    border-radius:50%;
    animation: spin 0.8s linear infinite;
    margin:0 auto 10px;
}

@keyframes spin {
    to { transform:rotate(360deg); }
}

.airg-loading-text {
    font-size:14px;
    opacity:0.7;
}

/* --- 返回图片 --- */
.airg-result img {
    max-width:100%;
    margin-top:20px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
}