.alert-form-container {
    max-width: 450px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.alert-form-container h2 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

#alertForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #34495e;
    font-size: 14px;
    margin-bottom: 4px;
}

.form-group input[type="text"] {
    padding: 10px 14px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #2c3e50;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#pasteArea {
    border: 2px dashed #bdc3c7;
    padding: 30px 15px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#pasteArea:hover {
    border-color: #3498db;
    background: #f0f7ff;
}

#pasteAreaText p:first-child {
    margin: 0;
    color: #34495e;
    font-size: 16px;
    font-weight: 500;
}

#pasteAreaText p:last-child {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #7f8c8d;
}

#imagePreview {
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#previewImg {
    max-width: 107px;
    max-height: 200px;
    border: 2px solid #e1e8ed;
    padding: 8px;
    border-radius: 8px;
    background: #ffffff;
    object-fit: contain;
}

#removeImage {
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#removeImage:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

#alertForm button[type="submit"] {
    padding: 12px 28px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

#alertForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

#alertForm button[type="submit"]:active {
    transform: translateY(0);
}

#ajaxResult {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

#ajaxResult.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#ajaxResult.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#ajaxResult.loading {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

@media (max-width: 768px) {
    .alert-form-container {
        margin: 20px;
        padding: 30px 20px;
    }

    .alert-form-container h2 {
        font-size: 24px;
    }
}
