/* Patreon Account Page Styles */

.pwg-account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.pwg-account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    flex-wrap: wrap;
}

.pwg-account-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.pwg-account-header-info {
    flex: 1;
    min-width: 200px;
}

.pwg-account-name {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.pwg-account-email {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.pwg-account-header-actions {
    margin-left: auto;
}

.pwg-logout-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pwg-logout-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sections */
.pwg-account-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pwg-section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #1a1a1a;
}

/* Info Grid */
.pwg-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pwg-info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.pwg-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pwg-info-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
}

.pwg-info-content {
    flex: 1;
}

.pwg-info-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pwg-info-value {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.pwg-info-sublabel {
    font-size: 13px;
    color: #00a32a;
    margin-top: 4px;
}

.pwg-test-mode-badge {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
}

.pwg-verified-badge {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
}

/* Devices List */
.pwg-devices-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pwg-device-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.pwg-device-item:hover {
    background: #e9ecef;
}

.pwg-device-current {
    background: #d4edda;
    border: 2px solid #28a745;
}

.pwg-device-icon {
    font-size: 24px;
}

.pwg-device-info {
    flex: 1;
}

.pwg-device-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.pwg-device-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.pwg-device-first {
    background: #28a745;
}

.pwg-device-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.pwg-device-status {
    font-weight: 500;
}

.pwg-status-online {
    color: #28a745;
}

.pwg-status-offline {
    color: #999;
}

/* Actions Grid */
.pwg-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.pwg-action-button {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.pwg-action-button:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pwg-action-button:hover .pwg-action-text {
    color: white;
}

.pwg-action-icon {
    font-size: 24px;
}

.pwg-action-text {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
}

/* Login Prompt */
.pwg-account-login {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwg-login-box {
    background: white;
    border-radius: 12px;
    padding: 60px 50px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pwg-login-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.pwg-login-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.pwg-login-message {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.pwg-login-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
}

.pwg-login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .pwg-account-header {
        padding: 30px 20px;
        text-align: center;
        flex-direction: column;
    }
    
    .pwg-account-header-actions {
        margin-left: 0;
        width: 100%;
    }
    
    .pwg-logout-button {
        width: 100%;
        text-align: center;
    }
    
    .pwg-account-name {
        font-size: 24px;
    }
    
    .pwg-info-grid {
        grid-template-columns: 1fr;
    }
    
    .pwg-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .pwg-login-box {
        padding: 40px 30px;
    }
}
