@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    padding: 20px;
    min-height: 100vh;
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
}

.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

h1 { 
    color: #333; 
    font-size: 28px; 
    font-weight: 700;
}

.project-type-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-type-badge.landing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.project-type-badge.multipage {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.project-type-badge.webapp {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.modal { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.6); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 9999; 
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content { 
    background: white; 
    padding: 35px; 
    border-radius: 12px; 
    width: 450px; 
    max-width: 100%; 
    position: relative; 
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-content h2 { 
    margin-bottom: 25px; 
    color: #333;
    font-size: 24px;
}

.modal-content input { 
    width: 100%; 
    padding: 12px 15px; 
    margin-bottom: 15px; 
    border: 2px solid #e0e0e0; 
    border-radius: 8px; 
    font-family: 'IBM Plex Sans', sans-serif; 
    font-size: 14px;
    transition: border-color 0.3s;
}

.modal-content input:focus {
    outline: none;
    border-color: #667eea;
}

.hidden { display: none; }

.btn { 
    padding: 10px 20px; 
    border: none; 
    border-radius: 8px; 
    cursor: pointer; 
    font-size: 14px; 
    font-weight: 600; 
    font-family: 'IBM Plex Sans', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
}

.btn-success { 
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); 
    color: white; 
}

.btn-secondary { 
    background: #6c757d; 
    color: white; 
}

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

.dropdown { 
    position: relative; 
    display: inline-block; 
}

.dropdown-trigger { 
    cursor: pointer; 
}

.dropdown-menu { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: white; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); 
    min-width: 200px; 
    z-index: 100; 
    max-height: 350px; 
    overflow-y: auto;
    margin-top: 8px;
}

.dropdown-menu a { 
    display: block; 
    padding: 12px 16px; 
    color: #333; 
    text-decoration: none; 
    white-space: nowrap;
    transition: background 0.2s;
    font-size: 14px;
}

.dropdown-menu a:hover { 
    background: #f5f5f5; 
}

.dropdown-input { 
    width: 100%; 
    padding: 12px 16px; 
    border: 2px solid #e0e0e0; 
    border-radius: 8px; 
    font-size: 14px; 
    font-family: 'IBM Plex Sans', sans-serif; 
    background: white; 
    color: #333; 
    text-align: left; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    gap: 20px; 
    white-space: nowrap;
    transition: all 0.3s;
}

.dropdown-input:hover {
    border-color: #667eea;
}

.dropdown-full-width .dropdown-menu { 
    width: 100%; 
}

@media (max-width: 768px) {
    body { padding: 10px; }
    h1 { font-size: 22px; }
    .header { 
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    .header-left {
        width: 100%;
        justify-content: center;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    .modal-content { padding: 25px; }
    .btn { 
        padding: 10px 16px; 
        font-size: 13px; 
    }
}