/* Pool My Page Styles */

.type-badge.external {
    background-color: #fff7ed;
    color: #ff9500;
    border-color: #ff9500;
}

.type-badge.reserve {
    background-color: #fff7ed;
    color: #ff9500;
    border-color: #ff9500;
}

.type-badge.instant {
    background-color: #e6f4ea;
    color: #34c759;
    border-color: #34c759;
}

.dashboard-container {
    padding: 16px;
    background-color: #f5f7fa;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

.welcome-section {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.welcome-user {
    padding-left: 4px;
}

.welcome-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #333;
    display: flex;
    align-items: center;
}

.wave-emoji {
    margin-left: 8px;
    font-size: 22px;
    animation: wave 1.5s infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.welcome-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

.module-section {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.module-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.module-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
    background-color: #f0f2f5;
    color: #D28430;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.module-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.function-action-card {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.action-button {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blue-button {
    background-color: #1890ff;
}

.green-button {
    background-color: #52c41a;
}

.red-button {
    background-color: #f5222d;
}

.purple-button {
    background-color: #722ed1;
}

.help-link {
    color: #1890ff;
    text-decoration: none;
    transition: color 0.2s;
}

.help-link:hover {
    color: #40a9ff;
    text-decoration: underline;
}

.account-card {
    margin-bottom: 16px;
    transition: transform 0.2s;
}

.account-card:hover {
    transform: translateY(-2px);
}

.account-card-content {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.account-info {
    flex: 3;
    padding: 16px;
    border-left: 6px solid #1890ff;
    display: flex;
    flex-direction: column;
}

.account-header {
    margin-bottom: 8px;
}

.account-name {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.account-email {
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.account-devices {
    margin-bottom: 10px;
}

.device-count {
    color: #f5222d;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.expiry-date {
    color: #333;
    display: block;
}

.account-toggles {
    display: flex;
    margin: 10px 0;
    gap: 20px;
}

.toggle-item {
    display: flex;
    align-items: center;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.account-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
}

.sidebar-button {
    flex: 1;
    border: none;
    background-color: #f9f9f9;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
}

.sidebar-button:hover {
    background-color: #f0f0f0;
}

.sidebar-button:last-child {
    border-bottom: none;
}

.note-button {
    background-color: #e6f7ff;
    flex: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-all;
}

.no-more-data {
    text-align: center;
    color: #999;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .account-card-content {
        flex-direction: column;
    }
    
    .account-info {
        border-left: none;
        border-top: 6px solid #1890ff;
    }
    
    .account-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        border-left: none;
        border-top: 1px solid #eee;
    }
    
    .sidebar-button {
        flex: 1 0 50%;
        border-bottom: none;
        border-right: 1px solid #eee;
    }
    
    .note-button {
        flex: 1 0 100%;
    }
    
    .account-actions {
        flex-direction: column;
    }
    
    .action-button {
        width: 100%;
    }
}

