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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 40% 20%, rgba(25, 118, 210, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 20, 0.98) 100%);
    min-height: 100vh;
    padding: 10px;
    color: #FFFFFF;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(33, 150, 243, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(255, 193, 7, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.login-page {
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(33, 150, 243, 0.3);
    position: relative;
}

header img {
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.1) rotate(5deg);
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFC107, transparent);
    animation: headerLine 3s ease-in-out infinite;
}

@keyframes headerLine {
    0%, 100% {
        width: 100px;
        opacity: 0.5;
    }
    50% {
        width: 200px;
        opacity: 1;
    }
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    background: linear-gradient(135deg, #2196F3 0%, #FFC107 30%, #FFFFFF 60%, #2196F3 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.6), 0 0 60px rgba(255, 193, 7, 0.4), 0 0 90px rgba(255, 255, 255, 0.2);
    position: relative;
}

.subtitle {
    font-size: 1.1em;
    color: #FFC107;
    opacity: 0.9;
    letter-spacing: 1px;
    font-weight: 300;
}

.card {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 
        0 10px 25px rgba(33, 150, 243, 0.15), 
        inset 0 0 20px rgba(255, 193, 7, 0.05),
        0 0 0 1px rgba(33, 150, 243, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    border-color: rgba(33, 150, 243, 0.6);
    box-shadow: 
        0 15px 35px rgba(33, 150, 243, 0.25), 
        inset 0 0 30px rgba(255, 193, 7, 0.1),
        0 0 0 2px rgba(33, 150, 243, 0.2);
    transform: translateY(-2px);
}

.card h2 {
    color: #2196F3;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
    letter-spacing: 0.5px;
}

.card h3 {
    color: #FFC107;
    margin: 15px 0 10px 0;
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

.status-card {
    background: #0a0a0a;
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.1), inset 0 0 15px rgba(255, 193, 7, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
}

.status-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ccc;
    animation: pulse 2s infinite;
}

.status-indicator.connected {
    background: #2196F3;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.8);
}

.status-indicator.disconnected {
    background: #666;
    box-shadow: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.input-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #FFC107;
    min-width: 100px;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
    background: #1a1a1a;
    color: #FFFFFF;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
    background: #252525;
}

textarea[draggable="true"] {
    transition: border-color 0.3s ease;
}

textarea[draggable="true"]:hover {
    border-color: rgba(255, 193, 7, 0.5);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #2196F3 0%, #FFC107 50%, #1976D2 100%);
    background-size: 200% 200%;
    color: #000000;
    font-weight: 600;
    box-shadow: 
        0 4px 15px rgba(33, 150, 243, 0.5),
        0 0 20px rgba(255, 193, 7, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: buttonShine 3s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

@keyframes buttonShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 6px 20px rgba(33, 150, 243, 0.7),
        0 0 25px rgba(255, 193, 7, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #FFC107 0%, #2196F3 50%, #FFC107 100%);
    background-size: 200% 200%;
}

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

.btn-secondary {
    background: #1a1a1a;
    color: #FFFFFF;
    border: 2px solid rgba(33, 150, 243, 0.5);
}

.btn-secondary:hover {
    background: #2a2a2a;
    border-color: #2196F3;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
    color: #FFC107;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 15px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.groups-list {
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid rgba(33, 150, 243, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    background: #0a0a0a;
}

.group-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: #1a1a1a;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: grab;
}

.group-item:active {
    cursor: grabbing;
}

.group-item:hover {
    background: #252525;
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
}

.group-item[draggable="true"] {
    user-select: none;
}

.group-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.group-item label {
    flex: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.group-title {
    font-weight: 600;
    color: #FFFFFF;
}

.group-username {
    color: #FFC107;
    font-size: 0.9em;
}

.group-type {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
}

.group-type.channel {
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 100%);
    color: #FFFFFF;
    font-weight: 600;
}

.group-type.group {
    background: linear-gradient(135deg, #2196F3 0%, #FFC107 100%);
    color: #000000;
    font-weight: 600;
}

.message-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(33, 150, 243, 0.3);
}

.info-text {
    color: #CCCCCC;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-text a {
    color: #FFC107;
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
    color: #2196F3;
    text-shadow: 0 0 5px rgba(33, 150, 243, 0.5);
}

.status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    display: none;
}

.status-message.success {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
    display: block;
}

.status-message.error {
    background: rgba(255, 102, 102, 0.1);
    color: #ff6666;
    border: 1px solid rgba(255, 102, 102, 0.3);
    display: block;
}

.results-content {
    margin-top: 20px;
}

.result-item {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-item.success {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    color: #FFFFFF;
}

.result-item.error {
    background: rgba(255, 102, 102, 0.1);
    border-left: 4px solid #ff6666;
    color: #FFFFFF;
}

.result-icon {
    font-size: 24px;
}

.result-text {
    flex: 1;
}

.result-group {
    font-weight: 600;
    color: #FFFFFF;
}

.result-error {
    color: #ff6666;
    font-size: 0.9em;
    margin-top: 5px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(33, 150, 243, 0.2);
    border-top: 5px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loadingText {
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 600;
}

.loading-content {
    background: #0a0a0a;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(33, 150, 243, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2196F3;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(33, 150, 243, 0.3);
    flex-wrap: wrap;
    overflow-x: auto;
}

.tab-btn {
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #FFC107;
    background: rgba(33, 150, 243, 0.1);
}

.tab-btn.active {
    color: #2196F3;
    border-bottom-color: #2196F3;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.check-result-item {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-result-item.exists {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    color: #FFFFFF;
}

.check-result-item.missing {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #FFC107;
    color: #FFFFFF;
}

.check-result-item.error {
    background: rgba(255, 102, 102, 0.1);
    border-left: 4px solid #ff6666;
    color: #FFFFFF;
}

.check-result-identifier {
    font-weight: 600;
    color: #333;
    font-family: monospace;
    min-width: 150px;
}

.check-result-info {
    flex: 1;
}

.check-result-title {
    font-weight: 600;
    color: #333;
}

.check-result-username {
    color: #667eea;
    font-size: 0.9em;
    margin-left: 10px;
}

.check-result-error {
    color: #ff6666;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Login Sayfası */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 100;
}

.login-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 101;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-weight: 700;
    background: linear-gradient(135deg, #2196F3 0%, #FFC107 30%, #FFFFFF 60%, #2196F3 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.6), 0 0 60px rgba(255, 193, 7, 0.4), 0 0 90px rgba(255, 255, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease;
}

.login-header h1:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
}

.login-subtitle {
    font-size: 1.1em;
    color: #FFC107;
    opacity: 0.9;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
    animation: subtitleFade 2s ease-in-out infinite;
}

@keyframes subtitleFade {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.login-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid rgba(33, 150, 243, 0.4);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 
        0 15px 40px rgba(33, 150, 243, 0.25), 
        inset 0 0 30px rgba(255, 193, 7, 0.08),
        0 0 0 1px rgba(33, 150, 243, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 102;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    animation: cardGlow 6s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes cardGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.8;
    }
}

.login-card:hover {
    border-color: rgba(33, 150, 243, 0.6);
    box-shadow: 
        0 20px 50px rgba(33, 150, 243, 0.3), 
        inset 0 0 40px rgba(255, 193, 7, 0.1),
        0 0 0 2px rgba(33, 150, 243, 0.3);
    transform: translateY(-3px);
}

.login-card h2 {
    color: #2196F3;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6em;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.login-form {
    position: relative;
    z-index: 10;
}

.login-form .input-group {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
    position: relative;
    z-index: 11;
}

.login-form input,
.login-form select,
.login-form button {
    position: relative;
    z-index: 12;
    pointer-events: auto;
}

.login-form label {
    color: #FFC107;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-error {
    background: rgba(255, 102, 102, 0.1);
    color: #ff6666;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 102, 102, 0.3);
    margin-bottom: 15px;
}

.login-success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 102, 102, 0.3);
    margin-bottom: 20px;
    text-align: center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* Lisans Bilgisi Pop-up */
.license-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.license-popup-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid rgba(33, 150, 243, 0.5);
    border-radius: 15px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    box-shadow: 
        0 20px 60px rgba(33, 150, 243, 0.3), 
        inset 0 0 30px rgba(255, 193, 7, 0.1),
        0 0 0 2px rgba(33, 150, 243, 0.2);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.license-popup-header {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.license-popup-header h3 {
    color: #2196F3;
    margin: 0;
    font-size: 1.4em;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.license-popup-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.license-popup-close:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: rotate(90deg);
    color: #FFC107;
}

.license-popup-body {
    padding: 25px;
}

.license-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(33, 150, 243, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    transition: all 0.3s ease;
}

.license-info-item:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.4);
    transform: translateX(5px);
}

.license-label {
    color: #FFC107;
    font-weight: 600;
    font-size: 1em;
}

.license-value {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.2em;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.license-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.license-popup-footer {
    padding: 20px;
    border-top: 1px solid rgba(33, 150, 243, 0.3);
    text-align: center;
    background: rgba(33, 150, 243, 0.05);
}

.license-popup-footer .btn {
    width: 100%;
    max-width: 200px;
}

/* Grup Seçim Modal */
.group-selector-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.group-selector-modal-content {
    background: #1a1a1a;
    border: 2px solid rgba(33, 150, 243, 0.5);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(33, 150, 243, 0.3);
    animation: slideUp 0.3s ease;
}

.group-selector-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(33, 150, 243, 0.1);
}

.group-selector-modal-header h3 {
    margin: 0;
    color: #2196F3;
    font-size: 20px;
}

.group-selector-modal-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.group-selector-modal-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    transform: rotate(90deg);
}

.group-selector-modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.group-selector-item {
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(33, 150, 243, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.group-selector-item:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
    transform: translateX(5px);
}

.group-selector-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2196F3;
}

.group-selector-item-info {
    flex: 1;
}

.group-selector-item-title {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.group-selector-item-details {
    font-size: 12px;
    color: #888;
}

.group-selector-item-username {
    color: #2196F3;
    font-weight: 500;
}

.group-selector-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(33, 150, 243, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(33, 150, 243, 0.05);
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .group-selector-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .group-selector-modal-header h3 {
        font-size: 18px;
    }
    
    .group-selector-item {
        padding: 10px;
    }
}

/* Mobile uyumluluk */
@media (max-width: 480px) {
    .license-popup-content {
        width: 95%;
        max-width: none;
    }
    
    .license-popup-header h3 {
        font-size: 1.2em;
    }
    
    .license-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .license-value {
        font-size: 1.1em;
    }
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 15px;
    padding: 25px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(33, 150, 243, 0.3);
    position: relative;
}

.modal-content h2 {
    color: #2196F3;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #FFC107;
}

select {
    color: #FFFFFF;
}

select option {
    background: #1a1a1a;
    color: #FFFFFF;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 10px 5px;
    }
    
    .container {
        max-width: 100%;
    }
    
    header {
        padding: 15px 0;
        margin-bottom: 20px;
    }
    
    header h1 {
        font-size: 1.8em;
        letter-spacing: 1px;
    }
    
    header img {
        width: 50px !important;
        height: 50px !important;
    }
    
    header > div {
        flex-direction: column;
        gap: 10px;
    }
    
    .subtitle {
        font-size: 0.95em;
    }
    
    .card {
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .card h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .card h3 {
        font-size: 1.1em;
        margin: 12px 0 8px 0;
    }
    
    .status-card {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .input-group label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    input[type="text"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    textarea {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
        width: 100%;
    }
    
    .btn-large {
        padding: 12px;
        font-size: 16px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    .tabs {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .groups-list {
        max-height: 300px;
        padding: 10px;
    }
    
    .group-item {
        padding: 8px;
        flex-wrap: wrap;
    }
    
    .group-item label {
        flex: 1;
        min-width: 200px;
    }
    
    .message-section {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    #authPage {
        max-width: 100%;
        margin: 20px auto;
        padding: 20px 15px;
    }
    
    .login-card {
        padding: 25px 20px;
    }
    
    .login-header h1 {
        font-size: 2em;
        letter-spacing: 2px;
    }
    
    .login-subtitle {
        font-size: 0.95em;
    }
    
    header > div {
        text-align: center;
        margin-top: 15px;
    }
    
    #userInfo {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .modal-content {
        padding: 20px 15px;
        width: 95%;
    }
    
    .loading-content {
        padding: 30px 20px;
    }
    
    .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }
    
    .subtitle {
        font-size: 0.85em;
    }
    
    .card {
        padding: 12px;
    }
    
    .card h2 {
        font-size: 1.2em;
    }
    
    .tab-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .groups-list {
        max-height: 250px;
    }
    
    .login-header h1 {
        font-size: 1.8em;
    }
}

/* Sağ Üst İlerleme Bildirimi */
.progress-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5000;
    max-width: 350px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.progress-notification-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid rgba(33, 150, 243, 0.5);
    border-radius: 12px;
    padding: 0;
    box-shadow: 
        0 10px 30px rgba(33, 150, 243, 0.3), 
        inset 0 0 20px rgba(255, 193, 7, 0.1),
        0 0 0 1px rgba(33, 150, 243, 0.2);
    overflow: hidden;
}

.progress-notification-header {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(33, 150, 243, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-notification-header h4 {
    color: #2196F3;
    margin: 0;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.progress-notification-close {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.progress-notification-close:hover {
    background: rgba(255, 193, 7, 0.2);
    transform: rotate(90deg);
    color: #FFC107;
}

.progress-notification-body {
    padding: 15px 20px;
}

.progress-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95em;
    border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}

.progress-stat-item:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

.progress-stat-item span:first-child {
    color: #FFC107;
}

.progress-stat-item span:last-child {
    color: #FFFFFF;
    font-weight: 600;
}

.progress-stat-item.success span:first-child,
.progress-stat-item.success span:last-child {
    color: #4caf50;
}

.progress-stat-item.warning span:first-child,
.progress-stat-item.warning span:last-child {
    color: #ff9800;
}

.progress-stat-item.error span:first-child,
.progress-stat-item.error span:last-child {
    color: #f44336;
}

.progress-bar-container {
    margin-top: 12px;
    height: 8px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2196F3 0%, #FFC107 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
    box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

/* Shopier Link Stilleri */
a[href*="shopier.com"] {
    transition: all 0.3s ease;
}

a[href*="shopier.com"]:hover {
    background: #FFC107 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5) !important;
}

a[href*="shopier.com"]:active {
    transform: translateY(0);
}

/* Mobile uyumluluk */
@media (max-width: 480px) {
    .progress-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

