/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Phone Container */
.phone-container {
    width: 375px;
    height: 812px;
    background: #1a1a1a;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
}

.screen {
    width: 100%;
    flex: 1;
    background: #000;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Status Bar */
.status-bar {
    height: 44px;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Header */
.header {
    padding: 20px;
    background: rgba(20,20,20,0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Glass Card */
.glass-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    margin: 10px;
}

/* Notification Badge - Apple Style */
.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #ff3b30;
    color: white;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    border: 2px solid #000;
    z-index: 10;
}

/* Buttons */
.primary-button {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59,130,246,0.4);
}

.secondary-button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.15);
}

/* Tab Bar */
.tab-bar {
    display: flex;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    gap: 10px;
    flex-shrink: 0;
    height: 70px;
    box-sizing: border-box;
    z-index: 1000;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.tab-item.active {
    color: #3b82f6;
    background: rgba(59,130,246,0.1);
}

/* Login Page Styles */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100% - 44px);
    padding: 40px 30px;
}

.logo-section {
    text-align: center;
    margin-bottom: 60px;
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.tagline {
    color: #666;
    font-size: 14px;
}

.login-form h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(255,255,255,0.08);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
}

.link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(20,20,20,0.95);
    border-radius: 20px;
    padding: 30px;
    margin: 20px;
    max-height: 80%;
    overflow-y: auto;
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.role-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-button:hover {
    background: rgba(255,255,255,0.08);
    border-color: #3b82f6;
}

.role-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.1);
    border-radius: 12px;
    color: #3b82f6;
}

.role-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.role-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.role-info p {
    font-size: 14px;
    color: #666;
}

/* Badge */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.3);
}

/* Stat Number */
.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Avatar */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* List Item */
.list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.list-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

/* Floating Button */
.floating-button {
    position: absolute;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(59,130,246,0.4);
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-button:hover {
    transform: scale(1.1);
}

/* Action Grid */
.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.action-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.action-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: #3b82f6;
}

.action-icon {
    font-size: 32px;
    margin-bottom: 10px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Mini Action Card */
.mini-action-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.mini-action-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: #3b82f6;
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #666;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #10b981;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Search Bar */
.search-bar {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    color: white;
    width: 100%;
    margin-bottom: 20px;
}

/* Back Button */
.back-button {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

/* Quick Action */
.quick-action {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 5px;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    overflow-x: auto;
    margin-bottom: 10px;
}

.chip {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
    color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chip:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.chip.active {
    background: rgba(59,130,246,0.2);
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Partnership Card */
.partnership-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

/* Vacancy Card */
.vacancy-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

/* Contact Card */
.contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

/* Project Info */
.project-info {
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
}

/* Info Row */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child {
    border-bottom: none;
}

/* Notification Styles */
.notification-section {
    margin-bottom: 30px;
}

.notification-section .section-title {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 20px 20px 10px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: rgba(255,255,255,0.05);
}

.notification-item.unread {
    background: rgba(59,130,246,0.05);
    border-left: 3px solid #3b82f6;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-icon.project {
    background: rgba(59,130,246,0.1);
    color: #3b82f6;
}

.notification-icon.vacancy {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}

.notification-icon.system {
    background: rgba(251,146,60,0.1);
    color: #fb923c;
}

.notification-icon.invitation {
    background: rgba(147,51,234,0.1);
    color: #9333ea;
}

.notification-icon.message {
    background: rgba(236,72,153,0.1);
    color: #ec4899;
}

.notification-icon.success {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-time {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.filter-tab {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: transparent;
    color: white;
}