/* Result Container Styles */
.akm-result-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
}

/* Header Styles */
.akm-result-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.akm-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    animation: iconPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.akm-success-icon svg {
    color: white;
    animation: iconSpin 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.akm-result-header h1 {
    color: #ffffff;
    font-size: 2.2rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.6s ease;
}

.akm-thank-you {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin: 0;
    animation: fadeIn 0.8s ease;
}

/* Product Info Styles */
.akm-product-info {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    animation: none !important;
}

.akm-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(26, 28, 44, 0.98);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.akm-info-row:hover {
    background: rgba(26, 28, 44, 0.98);
    transform: none;
    box-shadow: none;
}

.akm-info-row:last-child {
    margin-bottom: 0;
}

.akm-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Copy Wrapper Styles */
.akm-copy-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem;
    border-radius: 8px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.akm-copy-text {
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #ffffff;
    word-break: break-all;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    line-height: 1.4;
    padding-right: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.akm-copy-wrapper:hover .akm-copy-text {
    border-color: none;
    transform: none;
}

/* URL Text Specific Styles */
.akm-url-text a {
    color: #64B5F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.akm-url-text a:hover {
    color: #90CAF9;
}

/* Copy Button Styles */
.akm-copy-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    color: white;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.akm-copy-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.akm-copy-btn:active {
    transform: translateY(0);
}

.akm-copy-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.akm-copy-btn:hover .dashicons {
    transform: scale(1.1);
}

/* Timestamp Style */
.akm-timestamp {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Copy Animation */
.akm-copy-wrapper.copied-flash {
    animation: copyFlash 1.5s ease;
}

/* Animations */
@keyframes iconPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes iconSpin {
    0% { transform: rotate(-180deg); opacity: 0; }
    100% { transform: rotate(0); opacity: 1; }
}

@keyframes slideDown {
    0% { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes copyFlash {
    0% { background: rgba(76, 175, 80, 0); }
    20% { background: rgba(76, 175, 80, 0.1); }
    100% { background: rgba(76, 175, 80, 0); }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .akm-result-container {
        width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }

    .akm-info-row {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .akm-info-label {
        margin-bottom: 0.25rem;
        min-width: auto;
        width: 100%;
    }

    .akm-copy-wrapper {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.75rem;
        position: relative;
    }

    .akm-copy-text {
        width: calc(100% - 40px);
        font-size: 14px;
        font-weight: 500;
        color: #ffffff;
        padding-right: 32px;
        letter-spacing: 0.3px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .akm-copy-btn {
        position: absolute;
        right: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.5rem;
        width: 32px;
        height: 32px;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .akm-success-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
} 