/* Google Fonts import for modern typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2b6777;
    --primary-light: #52ab98;
    --primary-dark: #1e4b55;
    --secondary-color: #c8d8e4;
    --accent-color: #52ab98;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #f2f2f2;
    --bg-white: #ffffff;
    --bg-dark: #2b6777;
    --border-color: #c8d8e4;
    --success-color: #52ab98;
    --danger-color: #d95a5a;
    --warning-color: #f0ae3c;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

/* Overriding Bootstrap Primary Button for consistent theme */
.btn-primary {
    background-color: var(--primary-color) !important; /* Use !important to ensure override */
    border-color: var(--primary-color) !important;
    color: var(--bg-white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
    color: var(--bg-white);
}

/* Color palette variables - Updated with provided colors */
html {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: #f2f2f2; /* Ensuring exact color is used */
    overflow-y: auto;
}

/* Header styling - updated with new colors */
.meeting-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-md);
}

/* Custom header button with white background and primary color text */
.btn-header {
    background-color: var(--bg-white);
    border-color: var(--bg-white);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-header:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: var(--bg-white);
    color: var(--primary-color);
}

.meeting-header .btn {
    transition: all 0.2s ease;
}

.meeting-header .btn:hover {
    transform: translateY(-2px);
}

.meeting-header h1 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}


.action-button {
    display: block;
    padding: 1rem;
    border-radius: 12px;
    background-color: white;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1.0);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.action-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.action-button .icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.action-button h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.action-button p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Party profile picture styles */
.party-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.party-avatar.avatar-sm {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
}

/* Participant badge styling */
.participant-badge {
    background-color: #f2f2f2 !important;
    transition: all 0.2s ease;
}

.participant-badge:hover {
    background-color: #e8e8e8 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Ensure all profile images are properly cropped */
img.rounded-circle,
img.party-logo {
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1 / 1;
}