.container {
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.header {
    text-align: center;
    padding: 30px;
}

h1 {
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 25px 30px 30px;
    gap: 50px;
}

.input-section,
.result-section {
    flex: 1;
    min-width: 300px;
}

.section-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.input-area {
    width: 95%;
    height: 300px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s;
}

.input-area:focus {
    border-color: #4A00E0;
    outline: none;
}

.button-group {
    /*display: flex;*/
    /*gap: 15px;*/
    margin-top: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
}

.detect-btn {
    background: #3c833f;
    color: white;
}

.detect-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 45, 226, 0.4);
}

.clear-btn {
    background: #ff1c1c;
    color: #ffffff;
}

.down-duplicates-btn {
    background: #4CAF50;
    color: white;
}

.repeat-duplicates-btn {
    background: #FF5722;
    color: white;
}

.clear-btn:hover {
    background: #e0e0e0;
}

.result-area {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.stats {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #005e00;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.duplicate-list {
    list-style-type: none;
    padding-left: 0;
}

.duplicate-item {
    padding: 10px 10px;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 8px;
    border-left: 5px solid #ff1c1c;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duplicate-url {
    flex: 1;
    word-break: break-all;
    padding-right: 15px;
}

.duplicate-count {
    background-color: #ff1c1c;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.unique-item {
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: white;
    border-radius: 8px;
    border-left: 5px solid #005e00;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.tab.active {
    border-bottom: 3px solid #6d6d6d;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.instructions {
    background-color: #f0f8ff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
}

.instructions h3 {
    margin-bottom: 15px;
}

.instructions ol {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background: #2ed573;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }
    .button-group {
    line-height: 60px;
    text-align: center;
}
.subtitle {
    font-size: 14px;
}
.input-area {
    width: -webkit-fill-available;
}
}