/* Profile Page Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0066cc 0%, #8931b1 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    color: #0066cc;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 600;
}

h3 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

hr {
    border: none;
    border-top: 2px solid #00e0be;
    margin: 30px 0;
}

/* Profile Layout */
.profile-container {
    display: flex;
    gap: 30px;
}

.main-info {
    flex: 1;
}

.side-panel {
    width: 320px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 3px solid #00e0be;
}

/* Info Groups */
.info-group {
    text-align: left;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.info-label {
    font-weight: 600;
    color: #0066cc;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #333;
    background: #ffffff;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    font-size: 15px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #0066cc;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-success {
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #00e0be 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #00e0be 0%, #ffd005 100%);
    color: #333;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 224, 190, 0.4);
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-danger {
    background: linear-gradient(135deg, #f25481 0%, #ffa44a 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 84, 129, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #00e0be 0%, #0066cc 100%);
    color: white;
    padding: 8px 16px;
    font-size: 13px;
    margin-right: 8px;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 224, 190, 0.4);
}

/* Entity List */
.entity-list {
    text-align: left;
    max-height: calc(100vh - 400px);
    overflow-y: auto;
    border: 2px solid #00e0be;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    background: #ffffff;
}

.entity-item {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.entity-item:hover {
    background: linear-gradient(90deg, rgba(0, 224, 190, 0.1) 0%, rgba(255, 208, 5, 0.1) 100%);
}

.entity-item input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #0066cc;
}

.entity-item label {
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.entity-controls {
    margin-bottom: 15px;
    display: flex;
    gap: 8px;
}

/* MCP Link Display */
.mcp-link-display {
    text-align: left;
    margin-top: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border: 2px solid #00e0be;
    word-break: break-all;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #e2e8f0;
    position: relative;
    white-space: pre-wrap;
    line-height: 1.6;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #0066cc 0%, #00e0be 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 224, 190, 0.4);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #00e0be 0%, #ffd005 100%);
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
    
    .side-panel {
        width: 100%;
    }
    
    .container {
        padding: 20px;
    }
}

/* Scrollbar Styling */
.entity-list::-webkit-scrollbar {
    width: 8px;
}

.entity-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.entity-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0066cc 0%, #00e0be 100%);
    border-radius: 4px;
}

.entity-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00e0be 0%, #0066cc 100%);
}
