/**
 * Google Ads Mockup Generator - Tool Styles
 * Focused on tool elements only - single column layout
 */

/* CSS Variables - Scoped to tool wrapper */
.gamg-wrapper {
    --gamg-primary-blue: #1a73e8;
    --gamg-primary-blue-hover: #1557b0;
    --gamg-google-blue: #4285f4;
    --gamg-google-red: #ea4335;
    --gamg-google-yellow: #fbbc05;
    --gamg-google-green: #34a853;
    --gamg-text-primary: #202124;
    --gamg-text-secondary: #5f6368;
    --gamg-text-tertiary: #80868b;
    --gamg-border-color: #dadce0;
    --gamg-bg-light: #f8f9fa;
    --gamg-bg-white: #ffffff;
    --gamg-success-color: #34a853;
    --gamg-warning-color: #f9ab00;
    --gamg-error-color: #ea4335;
    --gamg-shadow-sm: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    --gamg-shadow-md: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    --gamg-shadow-lg: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 8px 16px 4px rgba(60, 64, 67, 0.15);
    --gamg-radius-sm: 4px;
    --gamg-radius-md: 8px;
    --gamg-radius-lg: 12px;
    --gamg-radius-xl: 16px;
    --gamg-transition: all 0.2s ease;
}

/* Main Tool Wrapper */
.gamg-wrapper {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gamg-text-primary);
    line-height: 1.5;
    box-sizing: border-box;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.gamg-wrapper *,
.gamg-wrapper *::before,
.gamg-wrapper *::after {
    box-sizing: border-box;
}

/* Hero Section */
.gamg-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    color: #ffffff;
    padding: 32px 24px;
    text-align: center;
    border-radius: var(--gamg-radius-lg);
    margin-bottom: 20px;
}

.gamg-hero-title {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.gamg-hero-subtitle {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
    color: #ffffff;
}

/* Generator Container */
.gamg-generator {
    padding: 0;
}

/* Single Column Layout */
.gamg-single-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Panels */
.gamg-input-panel,
.gamg-preview-panel,
.gamg-metrics-panel {
    background: var(--gamg-bg-white);
    border-radius: var(--gamg-radius-lg);
    box-shadow: var(--gamg-shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gamg-border-color);
}

.gamg-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gamg-border-color);
    background: var(--gamg-bg-white);
}

.gamg-panel-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--gamg-text-primary);
    margin: 0;
}

/* Input Panel - Horizontal Layout */
.gamg-input-panel {
    width: 100%;
}

.gamg-input-panel .gamg-input-group {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gamg-border-color);
}

.gamg-input-group:last-child {
    border-bottom: none;
}

.gamg-group-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gamg-text-primary);
    margin: 0 0 4px 0;
}

.gamg-input-hint {
    font-size: 12px;
    color: var(--gamg-text-tertiary);
    margin: 0 0 12px 0;
}

.gamg-input-field {
    margin-bottom: 12px;
}

.gamg-input-field:last-child {
    margin-bottom: 0;
}

.gamg-input-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    margin-bottom: 6px;
}

.gamg-required {
    color: var(--gamg-error-color);
}

.gamg-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gamg-input,
.gamg-textarea {
    width: 100%;
    padding: 10px 60px 10px 12px;
    border: 1px solid var(--gamg-border-color);
    border-radius: var(--gamg-radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: var(--gamg-transition);
    resize: none;
    background: var(--gamg-bg-white);
    color: var(--gamg-text-primary);
}

.gamg-input:focus,
.gamg-textarea:focus {
    outline: none;
    border-color: var(--gamg-primary-blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.gamg-input.warning,
.gamg-textarea.warning {
    border-color: var(--gamg-warning-color);
}

.gamg-input.error,
.gamg-textarea.error {
    border-color: var(--gamg-error-color);
}

.gamg-textarea-wrapper {
    flex-direction: column;
    align-items: stretch;
}

.gamg-textarea-wrapper .gamg-textarea {
    padding-right: 12px;
}

.gamg-textarea-wrapper .gamg-char-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
}

.gamg-char-counter {
    position: absolute;
    right: 12px;
    font-size: 11px;
    color: var(--gamg-text-tertiary);
    pointer-events: none;
}

.gamg-char-counter.warning {
    color: var(--gamg-warning-color);
}

.gamg-char-counter.error {
    color: var(--gamg-error-color);
}

.gamg-char-warning {
    font-size: 11px;
    color: var(--gamg-warning-color);
    margin-top: 4px;
    min-height: 16px;
}

.gamg-url-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gamg-btn-reset {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: var(--gamg-bg-light);
    border-radius: var(--gamg-radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    cursor: pointer;
    transition: var(--gamg-transition);
}

.gamg-btn-reset:hover {
    background: var(--gamg-border-color);
    color: var(--gamg-text-primary);
}

/* Preview Panel */
.gamg-preview-panel {
    min-height: 500px;
}

.gamg-view-toggle {
    display: none;
}

.gamg-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: var(--gamg-radius-sm);
    font-size: 12px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    cursor: pointer;
    transition: var(--gamg-transition);
}

.gamg-toggle-btn:hover {
    color: var(--gamg-text-primary);
}

.gamg-toggle-btn.active {
    background: var(--gamg-bg-white);
    color: var(--gamg-text-primary);
    box-shadow: var(--gamg-shadow-sm);
}

.gamg-format-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--gamg-border-color);
}

.gamg-format-selector label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    margin: 0;
}

.gamg-select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gamg-border-color);
    border-radius: var(--gamg-radius-md);
    font-size: 13px;
    background: var(--gamg-bg-white);
    cursor: pointer;
    color: var(--gamg-text-primary);
}

.gamg-preview-container {
    display: block;
    padding: 20px;
}

/* Browser Frame */
.gamg-browser-frame {
    background: var(--gamg-bg-white);
    border-radius: var(--gamg-radius-lg);
    border: 1px solid var(--gamg-border-color);
    overflow: hidden;
    box-shadow: var(--gamg-shadow-md);
}

.gamg-browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--gamg-bg-light);
    border-bottom: 1px solid var(--gamg-border-color);
}

.gamg-browser-dots {
    display: flex;
    gap: 8px;
}

.gamg-browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gamg-border-color);
}

.gamg-browser-dots span:first-child {
    background: #ff5f57;
}

.gamg-browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.gamg-browser-dots span:last-child {
    background: #28ca42;
}

.gamg-browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--gamg-bg-white);
    border-radius: 20px;
    font-size: 13px;
    color: var(--gamg-text-secondary);
}

/* Search Results */
.gamg-search-results {
    padding: 20px 24px;
    background: var(--gamg-bg-white);
}

.gamg-google-logo {
    margin-bottom: 20px;
}

.gamg-search-box-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--gamg-bg-white);
    border: 1px solid var(--gamg-border-color);
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: var(--gamg-shadow-sm);
}

.gamg-search-box-preview span {
    font-size: 14px;
    color: var(--gamg-text-primary);
}

/* Ad Preview */
.gamg-ad-preview {
    padding: 16px 0;
    border-bottom: 1px solid var(--gamg-border-color);
    margin-bottom: 16px;
}

.gamg-ad-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    margin-bottom: 8px;
}

.gamg-ad-url-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.gamg-ad-favicon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gamg-bg-light);
    flex-shrink: 0;
}

.gamg-ad-url-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gamg-ad-business-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gamg-text-primary);
}

.gamg-ad-display-url {
    font-size: 12px;
    color: var(--gamg-text-secondary);
}

.gamg-ad-menu {
    margin-left: auto;
    font-size: 18px;
    color: var(--gamg-text-tertiary);
    cursor: pointer;
}

.gamg-ad-title {
    font-size: 20px;
    font-weight: 400;
    color: #1a0dab;
    line-height: 1.3;
    margin: 0 0 4px 0;
    cursor: pointer;
}

.gamg-ad-title:hover {
    text-decoration: underline;
}

.gamg-ad-description {
    font-size: 14px;
    color: var(--gamg-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Organic Results */
.gamg-organic-results {
    margin-top: 16px;
}

.gamg-organic-result {
    padding: 16px 0;
    border-bottom: 1px solid var(--gamg-border-color);
}

.gamg-organic-result:last-child {
    border-bottom: none;
}

.gamg-organic-url-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.gamg-organic-favicon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gamg-border-color);
    flex-shrink: 0;
}

.gamg-organic-url-info {
    display: flex;
    flex-direction: column;
}

.gamg-organic-site {
    font-size: 14px;
    color: var(--gamg-text-primary);
}

.gamg-organic-url {
    font-size: 12px;
    color: var(--gamg-text-secondary);
}

.gamg-organic-title {
    font-size: 18px;
    color: #1a0dab;
    font-weight: 400;
    margin: 0 0 4px 0;
    cursor: pointer;
}

.gamg-organic-title:hover {
    text-decoration: underline;
}

.gamg-organic-desc {
    font-size: 13px;
    color: var(--gamg-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Preview */
.gamg-mobile-preview {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

.gamg-phone-frame {
    width: 420px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--gamg-shadow-lg);
}

.gamg-phone-notch {
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    margin: 0 auto 8px;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 10;
}

.gamg-phone-screen {
    background: var(--gamg-bg-white);
    border-radius: 28px;
    overflow: hidden;
    min-height: 560px;
}

.gamg-mobile-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 8px;
    background: var(--gamg-bg-white);
    font-size: 14px;
    font-weight: 600;
    color: var(--gamg-text-primary);
}

.gamg-status-icons {
    display: flex;
    gap: 4px;
}

.gamg-status-icons svg {
    fill: var(--gamg-text-primary);
}

.gamg-mobile-search-header {
    padding: 12px 16px 8px;
    display: flex;
    justify-content: center;
    background: var(--gamg-bg-white);
}

.gamg-mobile-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    margin: 0 16px 12px;
    background: var(--gamg-bg-white);
    border: 1px solid var(--gamg-border-color);
    border-radius: 28px;
    font-size: 15px;
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
}

.gamg-mobile-search-box span {
    flex: 1;
    color: var(--gamg-text-primary);
}

.gamg-mobile-tabs {
    display: flex;
    gap: 16px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--gamg-border-color);
    font-size: 13px;
    color: var(--gamg-text-secondary);
    overflow-x: auto;
}

.gamg-mobile-tabs span.active {
    color: var(--gamg-primary-blue);
    border-bottom: 2px solid var(--gamg-primary-blue);
    padding-bottom: 8px;
    margin-bottom: -9px;
}

/* Mobile Ad Preview */
.gamg-mobile-ad-preview {
    padding: 16px;
    border-bottom: 8px solid var(--gamg-bg-light);
}

.gamg-mobile-ad-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    margin-bottom: 8px;
}

.gamg-mobile-ad-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.gamg-mobile-ad-favicon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.gamg-mobile-ad-url-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gamg-mobile-ad-business {
    font-size: 14px;
    font-weight: 500;
    color: var(--gamg-text-primary);
}

.gamg-mobile-ad-url {
    font-size: 12px;
    color: var(--gamg-text-secondary);
}

.gamg-mobile-ad-menu {
    font-size: 16px;
    color: var(--gamg-text-tertiary);
}

.gamg-mobile-ad-title {
    font-size: 18px;
    color: #1a0dab;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 6px 0;
    cursor: pointer;
}

.gamg-mobile-ad-title:hover {
    text-decoration: underline;
}

.gamg-mobile-ad-description {
    font-size: 14px;
    color: var(--gamg-text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* Mobile Organic */
.gamg-mobile-organic {
    padding: 16px;
}

.gamg-mobile-organic-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.gamg-mobile-organic-favicon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gamg-border-color);
    flex-shrink: 0;
}

.gamg-mobile-organic-info {
    display: flex;
    flex-direction: column;
}

.gamg-mobile-organic-site {
    font-size: 13px;
    color: var(--gamg-text-primary);
}

.gamg-mobile-organic-url {
    font-size: 11px;
    color: var(--gamg-text-secondary);
}

.gamg-mobile-organic-title {
    font-size: 18px;
    color: #1a0dab;
    font-weight: 400;
    margin: 0 0 6px 0;
    line-height: 1.3;
    cursor: pointer;
}

.gamg-mobile-organic-title:hover {
    text-decoration: underline;
}

.gamg-mobile-organic-desc {
    font-size: 14px;
    color: var(--gamg-text-secondary);
    line-height: 1.4;
    margin: 0;
}

.gamg-phone-home-indicator {
    width: 100px;
    height: 4px;
    background: var(--gamg-border-color);
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Display Ad Preview */
.gamg-display-preview {
    padding: 20px;
}

.gamg-display-preview-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gamg-text-secondary);
    margin: 0 0 20px 0;
    text-align: center;
}

.gamg-display-ad-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.gamg-display-ad-wrapper {
    text-align: center;
}

.gamg-display-ad-size {
    font-size: 11px;
    color: var(--gamg-text-tertiary);
    margin-bottom: 8px;
    display: block;
}

.gamg-display-ad {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--gamg-radius-md);
    overflow: hidden;
    box-shadow: var(--gamg-shadow-md);
    color: #ffffff;
}

.gamg-leaderboard {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.gamg-display-ad-content {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    padding: 16px 24px;
}

.gamg-display-ad-logo {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--gamg-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    color: #ffffff;
}

.gamg-display-ad-text {
    flex: 1;
    min-width: 0;
}

.gamg-display-ad-text h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #ffffff;
}

.gamg-display-ad-text p {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
    color: #ffffff;
}

.gamg-display-ad-cta {
    padding: 10px 24px;
    background: #ffffff;
    color: #667eea;
    border: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.gamg-medium-rect {
    width: 300px;
    height: 250px;
}

.gamg-display-ad-content-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.gamg-display-ad-logo-large {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--gamg-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
    color: #ffffff;
}

.gamg-display-ad-content-vertical h4 {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.gamg-display-ad-content-vertical p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.gamg-display-ad-url-small {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 12px;
    color: #ffffff;
}

.gamg-skyscraper {
    width: 160px;
    height: 400px;
}

.gamg-display-ad-content-tall {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 16px;
    text-align: center;
}

.gamg-display-ad-content-tall h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.gamg-display-ad-content-tall p {
    font-size: 12px;
    opacity: 0.9;
    margin: 0 0 20px 0;
    line-height: 1.4;
    color: #ffffff;
}

.gamg-display-ad-cta-small {
    padding: 8px 16px;
    background: #ffffff;
    color: #667eea;
    border: none;
    border-radius: 16px;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
}

/* Export Options */
.gamg-export-options {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--gamg-border-color);
    background: var(--gamg-bg-light);
}

.gamg-btn-export {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gamg-bg-white);
    border: 1px solid var(--gamg-border-color);
    border-radius: var(--gamg-radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--gamg-text-primary);
    cursor: pointer;
    transition: var(--gamg-transition);
}

.gamg-btn-export:hover {
    background: var(--gamg-bg-light);
    border-color: var(--gamg-primary-blue);
    color: var(--gamg-primary-blue);
}

/* Metrics Panel (Character Usage & Ad Strength) */
.gamg-metrics-panel {
    display: flex;
    gap: 20px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

.gamg-metrics-panel .gamg-character-summary,
.gamg-metrics-panel .gamg-ad-strength {
    flex: 1;
    min-width: 280px;
    padding: 0;
    border: none;
}

/* Character Summary */
.gamg-character-summary h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--gamg-text-primary);
    margin: 0 0 12px 0;
}

.gamg-char-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gamg-char-bar-item {
    display: grid;
    grid-template-columns: 85px 1fr 40px;
    gap: 10px;
    align-items: center;
    font-size: 11px;
    color: var(--gamg-text-secondary);
}

.gamg-char-bar {
    height: 6px;
    background: var(--gamg-bg-light);
    border-radius: 3px;
    overflow: hidden;
}

.gamg-char-bar-fill {
    height: 100%;
    background: var(--gamg-google-blue);
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.gamg-char-bar-fill.warning {
    background: var(--gamg-warning-color);
}

.gamg-char-bar-fill.full {
    background: var(--gamg-success-color);
}

.gamg-char-percent {
    text-align: right;
}

/* Ad Strength */
.gamg-ad-strength h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--gamg-text-primary);
    margin: 0 0 12px 0;
}

.gamg-strength-meter {
    height: 8px;
    background: var(--gamg-bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gamg-strength-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gamg-error-color), var(--gamg-warning-color), var(--gamg-google-green));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.gamg-strength-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--gamg-text-tertiary);
    margin-bottom: 6px;
}

.gamg-strength-text {
    font-size: 12px;
    color: var(--gamg-text-secondary);
    text-align: center;
    margin: 0;
}

/* Toast */
.gamg-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gamg-text-primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--gamg-radius-md);
    font-size: 14px;
    box-shadow: var(--gamg-shadow-lg);
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
}

.gamg-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Styles for Single Column Tool */
@media (max-width: 768px) {
    .gamg-wrapper {
        max-width: 100%;
        padding: 0 12px;
    }
    
    .gamg-hero-title {
        font-size: 22px;
    }
    
    .gamg-hero {
        padding: 24px 16px;
        border-radius: var(--gamg-radius-md);
    }
    
    .gamg-metrics-panel {
        flex-direction: column;
        gap: 16px;
    }
    
    .gamg-metrics-panel .gamg-character-summary,
    .gamg-metrics-panel .gamg-ad-strength {
        min-width: 100%;
    }
    
    .gamg-export-options {
        flex-wrap: wrap;
    }
    
    .gamg-btn-export {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .gamg-url-paths {
        grid-template-columns: 1fr;
    }
    
    .gamg-view-toggle {
        flex-wrap: wrap;
    }
    
    .gamg-panel-header {
        flex-wrap: wrap;
        gap: 12px;
    }
}
