/* MedyAjans Card Components - Company Items and Stats */

/* Company Items - Base Responsive Design */
.company-item {
    /* Kutu temel stilleri */
    border: 1px solid #334155;
    border-radius: 12px;
    background: linear-gradient(135deg, #252545 0%, #1e1e2f 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    /* Responsive padding ve boyut */
    padding: clamp(12px, 3vw, 20px);
    margin: 0;
    min-height: clamp(160px, 20vw, 200px);
    
    /* Animasyon ve efektler - hızlı geçiş */
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    
    /* Container davranışı */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.company-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: left;
}

.company-item:hover::after {
    transform: scaleX(1);
}

.company-item:hover {
    transform: translateY(-2px);
    border-color: #4facfe;
    transition: all 0.2s ease; /* Hızlı hover */
}

.company-info { 
    margin-bottom: 15px; 
}

.company-info h4 {
    color: #e2e8f0;
    font-size: clamp(14px, 3.5vw, 18px);
    margin-bottom: clamp(6px, 1.5vw, 8px);
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.company-info p {
    color: #94a3b8;
    margin-bottom: clamp(3px, 1vw, 4px);
    font-size: clamp(11px, 2.5vw, 14px);
    line-height: 1.4;
    word-break: break-word;
}

/* Company actions - Responsive */
.company-actions {
    display: flex;
    gap: clamp(6px, 1.5vw, 8px);
    margin-top: clamp(10px, 2.5vw, 15px);
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.company-actions .btn {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    padding: clamp(6px, 1.5vw, 8px) clamp(8px, 2vw, 12px);
    border-radius: 6px;
    white-space: nowrap;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Revenue Cards */
.revenue-card {
    background: linear-gradient(135deg, #252545 0%, #1e1e2f 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #334155;
    transition: all 0.15s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Sol taraf parlaklık efekti kaldırıldı */

.revenue-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 172, 254, 0.5);
    transition: all 0.2s ease; /* Hızlı hover */
}

.revenue-card h4 {
    color: #4facfe;
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.revenue-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.revenue-card .amount {
    color: #10b981;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Action Card */
.action-card {
    background: linear-gradient(135deg, #1e1e2f 0%, #252545 100%);
    padding: 25px;
    border-radius: 10px; /* Oval kenarlar 10px */
    text-align: center;
    border: 1px solid #334155;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.action-card:hover {
    transform: translateY(-3px);
    transition: all 0.2s ease; /* Hızlı hover */
}

/* Action card slide efekti kaldırıldı */

.action-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.action-title {
    color: #e2e8f0;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.action-subtitle {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.action-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #0f172a;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.95rem;
    width: 100%;
    max-width: 200px;
}

.action-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    opacity: 0.9;
}

.action-btn:disabled {
    background: #374151;
    color: #6b7280;
    cursor: not-allowed;
}

.action-status {
    margin-top: 15px;
    padding: 8px 12px;
    background: #0f172a;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #94a3b8;
    border: 1px solid #334155;
}

/* Summary Card */
.summary-card {
    background: linear-gradient(135deg, #252545 0%, #1e1e2f 100%);
    padding: 20px;
    border-radius: 10px; /* Oval kenarlar 10px */
    border: 1px solid #334155;
    text-align: center;
    transition: all 0.15s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease; /* Hızlı hover */
}

.summary-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.summary-title {
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-display {
    color: #4facfe;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.time-label {
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, #1e1e2f 0%, #252545 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #334155;
    margin-bottom: 20px;
}

.info-card h4 {
    color: #4facfe;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Feature Card */
.feature-card {
    background: #0f172a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #334155;
    transition: all 0.15s ease;
}

.feature-card:hover {
    border-color: #4facfe;
    transition: all 0.2s ease; /* Hızlı hover */
}

.feature-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.8;
}

.feature-card li {
    margin-bottom: 4px;
}

.feature-card li::before {
    content: "✅ ";
    margin-right: 8px;
}

/* Company Grid Container Base */
#companiesContainer {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-items: stretch;
    padding: 0;
}

/* Desktop & Large Screens - Premium Kutu Düzeni */
@media (min-width: 1400px) {
    #companiesContainer {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)) !important;
        gap: 25px !important;
        justify-items: stretch;
        padding: 0 10px;
    }
    
    .company-item {
        /* Premium kutu tasarımı */
        padding: 24px;
        min-height: 220px;
        border-radius: 15px;
        
        /* Lüks kutu düzeni */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
        
        /* Premium efektler */
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
        border-width: 1px;
    }
    
    .company-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 40px rgba(79, 172, 254, 0.1);
    }
    
    .company-info {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .company-actions {
        margin-top: auto;
        gap: 12px;
        justify-content: flex-start;
    }
    
    .company-actions .btn {
        min-width: 100px;
        padding: 10px 16px;
    }
}

/* Desktop Medium - Standart Kutu Düzeni */
@media (min-width: 1200px) and (max-width: 1399px) {
    #companiesContainer {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
        gap: 20px !important;
        justify-items: stretch;
        padding: 0 8px;
    }
    
    .company-item {
        /* Standart desktop kutu */
        padding: 20px;
        min-height: 200px;
        border-radius: 12px;
        
        /* Düzenli kutu yapısı */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
        
        /* Standart efektler */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    }
    
    .company-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(79, 172, 254, 0.12);
    }
    
    .company-info {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .company-actions {
        margin-top: auto;
        gap: 10px;
    }
    
    .company-actions .btn {
        min-width: 95px;
        padding: 9px 15px;
    }
}

/* Desktop Small - Kompakt Desktop Kutu */
@media (min-width: 992px) and (max-width: 1199px) {
    #companiesContainer {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
        gap: 18px !important;
        justify-items: stretch;
        padding: 0 6px;
    }
    
    .company-item {
        /* Kompakt desktop kutu */
        padding: 18px;
        min-height: 185px;
        border-radius: 11px;
        
        /* Optimize kutu düzeni */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 14px;
        
        /* Kompakt efektler */
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    }
    
    .company-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(79, 172, 254, 0.15);
    }
    
    .company-info {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .company-actions {
        margin-top: auto;
        gap: 8px;
    }
    
    .company-actions .btn {
        min-width: 85px;
        padding: 8px 13px;
    }
}

/* Tablet Large - Orta Kutu Düzeni */
@media (min-width: 769px) and (max-width: 991px) {
    #companiesContainer {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 18px !important;
        justify-items: stretch;
        padding: 0 8px;
    }
    
    .company-item {
        /* Tablet kutu düzeni */
        width: 100%;
        max-width: 100%;
        padding: 18px;
        min-height: 185px;
        border-radius: 11px;
        
        /* Kutu içi organizasyon */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 14px;
        
        /* Görsel efektler */
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    
    .company-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(79, 172, 254, 0.12);
    }
    
    .company-info {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .company-actions {
        margin-top: auto;
        gap: 10px;
        justify-content: flex-start;
    }
    
    .company-actions .btn {
        min-width: 90px;
        padding: 8px 14px;
    }
}

/* Mobile Large - Company Item Kutu Optimizasyonu */
@media (min-width: 481px) and (max-width: 768px) {
    #companiesContainer {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        justify-items: center !important;
        justify-content: center !important;
        padding: 0 10px;
        margin: 0 auto;
    }
    
    .company-item {
        /* Kutu boyut ve kenarlık */
        width: calc(100% - 20px);
        max-width: 500px;
        margin: 0 auto;
        padding: 16px;
        min-height: 170px;
        border-radius: 10px;
        
        /* Kutu içi düzen */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
        
        /* Shadow ve hover */
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    }
    
    .company-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 5px 20px rgba(79, 172, 254, 0.15);
    }
    
    .company-info {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .company-actions {
        margin-top: auto;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: stretch;
    }
    
    .company-actions .btn {
        flex: 1;
        min-width: 85px;
        text-align: center;
    }
}

/* Mobile Small - Kompakt Kutu Düzeni */
@media (max-width: 480px) {
    #companiesContainer {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 0 8px;
        justify-items: center !important;
        justify-content: center !important;
        margin: 0 auto;
    }
    
    .company-item {
        /* Kompakt kutu tasarımı */
        width: calc(100% - 16px);
        max-width: 450px;
        min-height: 150px;
        padding: 12px;
        margin: 0 auto;
        border-radius: 8px;
        
        /* İçerik düzeni */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
        
        /* Kutu görünümü */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        border: 1px solid #334155;
    }
    
    .company-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(79, 172, 254, 0.2);
        border-color: #4facfe;
    }
    
    .company-info {
        margin-bottom: 0;
        flex-grow: 1;
    }
    
    .company-actions {
        margin-top: auto;
        gap: 5px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .company-actions .btn {
        flex: 1;
        min-width: 65px;
        max-width: calc(50% - 3px);
        text-align: center;
        padding: 6px 8px;
        font-size: 0.7rem;
        border-radius: 5px;
    }
}

/* Companies Section Container Responsive */
@media (min-width: 1200px) {
    #companiesSection {
        margin: 30px auto !important;
        padding: 25px !important;
        border-radius: 15px !important;
    }
    
    #companiesSection > div:first-child {
        padding: 20px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 20px !important;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    #companiesSection {
        margin: 25px auto !important;
        padding: 20px !important;
        border-radius: 15px !important;
    }
    
    #companiesSection > div:first-child {
        padding: 18px !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 18px !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    #companiesSection {
        margin: 20px auto !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    #companiesSection > div:first-child {
        padding: 15px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    #companiesSection h3 {
        font-size: clamp(16px, 4vw, 20px) !important;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    #companiesSection {
        margin: 15px 10px !important;
        padding: 12px !important;
        border-radius: 10px !important;
    }
    
    #companiesSection > div:first-child {
        padding: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    #companiesSection h3 {
        font-size: clamp(14px, 4vw, 18px) !important;
        margin-bottom: 6px;
    }
}