/* Advisor Multiple Profiles - Stylish Hot Pink, Black, and White Theme */

/* General Styling */
.amp-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    color: #333333;
}

.amp-heading {
    font-size: 24px;
    font-weight: bold;
    color: #ff69b4; /* Hot Pink */
    margin-bottom: 20px;
    text-align: center;
}

.amp-ajax-status {
    min-height: 1.25em;
    margin: 0 0 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #4a4a4a;
}
.amp-ajax-status.is-success { color: #0f766e; }
.amp-ajax-status.is-error { color: #be123c; }
.amp-ajax-status.is-pending { color: #7c2d91; }

.amp-form {
    margin-bottom: 30px;
}

.amp-form label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

.amp-form input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid #ff69b4; /* Hot Pink */
    border-radius: 5px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.amp-form input[type="text"]:focus {
    border-color: #000000;
}

.amp-button {
    background-color: #ff69b4; /* Hot Pink */
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.amp-button:hover {
    background-color: #e60073; /* Darker Hot Pink */
}

.amp-profiles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amp-profiles-list li {
    background-color: #f8f8f8;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.amp-profiles-list li a {
    color: #ff69b4; /* Hot Pink */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.amp-profiles-list li a:hover {
    color: #e60073; /* Darker Hot Pink */
}

.amp-switcher-form {
    margin-top: 20px;
}

.amp-switcher-form select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 2px solid #ff69b4; /* Hot Pink */
    border-radius: 5px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.amp-switcher-form select:focus {
    border-color: #000000;
}

.amp-switch-back-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.amp-switch-back-button:hover {
    background-color: #333333; /* Darker Black */
}

.amp-hint {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
    text-align: center;
}

/* Error and Success Messages */
.amp-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.amp-message.error {
    background-color: #ffe6e6;
    border: 1px solid #ff4d4d;
    color: #cc0000;
}

.amp-message.success {
    background-color: #e6ffe6;
    border: 1px solid #4dff4d;
    color: #009900;
}

.amp-heading-sub {
    font-size: 18px;
    margin-top: 28px;
}

.amp-preferred-block {
    margin: 24px 0;
    padding: 16px;
    border: 1px solid #f3c6dc;
    border-radius: 8px;
    background: #fff7fb;
}

.amp-preferred-help {
    font-size: 14px;
    color: #555;
    margin: 0 0 14px;
    line-height: 1.45;
}

.amp-preferred-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.amp-preferred-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.amp-preferred-item.is-preferred {
    border-color: #ff69b4;
    box-shadow: 0 0 0 1px rgba(255, 105, 180, 0.25);
}

.amp-preferred-item.is-hidden-from-lists {
    border-color: #c4c4c4;
    background: #f7f7f7;
}

.amp-preferred-badge.amp-hidden-badge {
    background: #666;
}

.amp-preferred-item label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.amp-preferred-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.amp-preferred-meta {
    font-size: 12px;
    color: #777;
}

.amp-preferred-badge {
    display: inline-block;
    background: #ff69b4;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.amp-remove-profile-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.amp-remove-profile-btn:hover {
    background: #333;
}

.amp-profile-row-label {
    flex: 1;
    margin-right: 12px;
}

.amp-remove-modal[hidden] {
    display: none !important;
}

.amp-remove-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.amp-remove-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.amp-remove-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.amp-remove-modal-panel h3 {
    margin: 0 0 10px;
    color: #111;
}

.amp-remove-password-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #ff69b4;
    border-radius: 5px;
    margin: 8px 0 12px;
    box-sizing: border-box;
}

.amp-remove-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}