.actions-component {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.actions-component input[type="text"],
.actions-component .email-display-box {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 0.75rem !important;
    padding: 1rem 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.actions-component input[type="text"]:focus,
.actions-component .email-display-box:focus-within {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    outline: none;
}

.actions-component ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
.actions-component ::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
.actions-component :-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}
.actions-component :-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.actions-component input[type="submit"] {
    border-radius: 0.75rem !important;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none !important;
    cursor: pointer;
    color: white !important;
}

.actions-component input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.actions-component .action-grid-button {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.625rem !important;
    cursor: pointer;
}

.actions-component .action-grid-button:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.actions-component .action-grid-button .icon {
    font-size: 1.875rem;
    margin-bottom: 0 !important;
    opacity: 0.95;
}

.actions-component .action-grid-button .label {
    font-size: 0.85rem;
    text-transform: capitalize;
    font-weight: 500;
    opacity: 0.95;
}

@media (min-width: 1024px) {
    .actions-component .action-grid-button {
        flex-direction: row !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
    }

    .actions-component .action-grid-button .icon {
        font-size: 1.25rem;
    }

    .actions-component .action-grid-button .label {
        font-size: 0.9rem;
    }
}

.actions-component .divider .line {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.actions-component .desktop-create-form {
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 0.75rem;
    padding: 0.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.actions-component .desktop-create-form input[type="text"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.75rem 1rem !important;
}
.actions-component .desktop-create-form .domain-trigger {
    background: transparent !important;
    padding: 0.75rem 1rem !important;
}

.actions-component .desktop-create-form input[type="submit"] {
    border-radius: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
}

.actions-component .main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.actions-component .main-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
}

.actions-component .email-display-wrapper {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
    margin-bottom: 1.5rem;
}

.actions-component .email-display-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    gap: 1rem;
}

.actions-component .email-text {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: #272727;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.actions-component .copy-icon-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.actions-component .copy-icon-btn:hover {
    background: #866fe3;
    border-color: #866fe3;
    transform: scale(1.05);
}

.actions-component .copy-icon-btn:hover svg {
    stroke: white;
}

.actions-component .copy-icon-btn svg {
    stroke: #6b7280;
    transition: stroke 0.3s ease;
}

.actions-component .action-buttons-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.actions-component .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #272727;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 44px;
}

.actions-component .action-btn:hover {
    background: #866fe3;
    border-color: #866fe3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(134, 111, 227, 0.3);
}

.actions-component .action-btn:hover .action-icon {
    stroke: white;
}

.actions-component .action-icon {
    stroke: #6b7280;
    transition: stroke 0.3s ease;
    flex-shrink: 0;
}

.actions-component .action-icon.refresh {
    animation: spin 1s linear infinite;
}

.actions-component .action-icon.refresh.pause-spinner {
    animation-play-state: paused;
}

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

.actions-component .create-form-container {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.actions-component .form-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.actions-component .form-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: white !important;
    font-size: 1rem;
    padding: 0.75rem 1rem !important;
    box-shadow: none !important;
}

.actions-component .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.actions-component .form-separator {
    color: white;
    font-size: 1.125rem;
    opacity: 0.7;
    padding: 0 0.25rem;
}

.actions-component .domain-select {
    cursor: pointer;
    min-width: 150px;
}

.actions-component .form-submit-btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.actions-component .form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.actions-component .random-btn,
.actions-component .cancel-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    color: white;
}

.actions-component .random-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.actions-component .cancel-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.actions-component .cancel-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

.actions-component .back-to-mailbox-btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.actions-component .back-to-mailbox-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.actions-component #qrPopup {
    min-width: 280px;
}

.actions-component #qrPopup canvas {
    max-width: 100%;
    height: auto;
}

.actions-component .action-buttons-row > .relative {
    position: relative;
}

@media (max-width: 640px) {
    .actions-component .main-title {
        font-size: 2rem;
    }

    .actions-component .main-subtitle {
        font-size: 1rem;
    }

    .actions-component .email-text {
        font-size: 0.95rem;
    }

    .actions-component .action-buttons-row {
        gap: 0.375rem;
    }

    .actions-component .action-btn span {
        display: none;
    }

    .actions-component .action-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        flex-shrink: 0;
    }

    .actions-component .form-input-group {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .actions-component .form-separator {
        display: none;
    }

    .actions-component .form-submit-btn {
        width: 100%;
    }

    .actions-component #qrPopup {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        bottom: auto !important;
        margin: 0 !important;
        width: 90vw;
        max-width: 320px;
    }
}