/* Genel Ayarlar */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
}

.container {
    flex: 1; /* Container'ın footer'a kadar uzamasını sağlar */
    width: 90%;
    max-width: 1400px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    padding-bottom: 20px;
}

/* Header Ayarları */
header {
    background-color: #1a73e8;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
}

header .info-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
    cursor: pointer;
}

header .info-icon:hover .tooltip {
    display: block;
}

.tooltip {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    width: 200px;
    z-index: 1000;
}

/* Menü Ayarları */
.menu {
    display: flex;
    justify-content: space-around;
    background-color: #3367d6;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.menu-link {
    text-decoration: none;
    display: inline-block;
}

.menu-link button {
    background-color: #ffffff;
    color: #3367d6;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-link button i {
    font-size: 18px;
}

.menu-link button:hover {
    background-color: #1a73e8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-link button:focus, .menu-link button:active {
    outline: none;
}

/* Kategori Ayarları */
.categories {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    overflow-x: auto;
    flex-wrap: wrap;
    max-height: 650px; /* Maksimum yükseklik belirledim */
    overflow-y: auto; /* Yatay scrollbar eklemek için */
}

.category {
    flex: 1 1 300px;
    margin: 10px;
    background-color: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    transition: box-shadow 0.3s;
    position: relative;
    min-height: 200px;
    max-height: 400px; /* Maksimum yükseklik eklendi */
    overflow-y: auto; /* Yatay scrollbar eklendi */
}

/* Scrollbar Ayarları */
.category {
    scrollbar-width: thin;
    scrollbar-color: #1a73e8 #f5f5f5;
}

.category::-webkit-scrollbar {
    width: 8px;
}

.category::-webkit-scrollbar-thumb {
    background-color: #1a73e8;
    border-radius: 10px;
}

.category::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}


.category h3 {
    margin-top: 0;
    text-align: center;
    color: #1a73e8;
    font-size: 20px;
}

.category:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Görev Ayarları */
.task {
    background-color: #ffffff;
    border: 2px solid #1a73e8;
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.task:active {
    cursor: grabbing;
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.task.dragging {
    opacity: 0.5;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.task-body {
    font-size: 14px;
    color: #555;
}

.task-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 12px;
    color: #777;
}

.task-footer .time {
    display: flex;
    align-items: center;
}

.task-footer .time i {
    margin-right: 5px;
}

.task-footer .created-by {
    display: flex;
    align-items: center;
}

.task-footer .created-by i {
    margin-right: 5px;
}

/* Alt Bölüm Ayarları */
.bottom-section {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.box {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 10px;
    flex: 1 1 300px;
    margin: 10px;
    padding: 20px;
    overflow-y: auto;
    height: 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.box h4 {
    margin-top: 0;
    text-align: center;
    color: #1a73e8;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.box h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: #1a73e8;
}

/* Liste Ayarları */
.recent-tasks,
.top-performers {
    list-style-type: none;
    padding: 0;
}

.recent-tasks li,
.top-performers li {
    margin: 10px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #1a73e8;
    transition: background-color 0.3s;
    font-weight: bold;
    position: relative;
}

.recent-tasks li i,
.top-performers li i {
    margin-right: 10px;
}

.top-performers li strong {
    margin-left: auto;
}

.top-performers li:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.top-performers li:hover {
    background-color: #e3f2fd;
}

.top-performers li:last-child:after {
    display: none;
}

.top-performers li .info-icon {
    margin-left: 10px;
    font-size: 14px;
    color: #1a73e8;
    cursor: pointer;
}

.top-performers li .info-icon:hover .tooltip {
    display: block;
}

.top-performers li .tooltip {
    display: none;
    position: absolute;
    top: -10px;
    right: 110%;
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    width: 200px;
    z-index: 1000;
}

/* Footer Ayarları */
footer {
    background-color: #3367d6;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto; /* Footer'ı sayfanın en altına sabitler */
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
}

/* Scrollbar Ayarları */
body, .container, .category, .box {
    scrollbar-width: thin;
    scrollbar-color: #1a73e8 #f5f5f5;
}

body::-webkit-scrollbar, .container::-webkit-scrollbar, .category::-webkit-scrollbar, .box::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-thumb, .container::-webkit-scrollbar-thumb, .category::-webkit-scrollbar-thumb, .box::-webkit-scrollbar-thumb {
    background-color: #1a73e8;
    border-radius: 10px;
}

body::-webkit-scrollbar-track, .container::-webkit-scrollbar-track, .category::-webkit-scrollbar-track, .box::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

/* Giriş Sayfası Ayarları */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 20px;
}

.login-logo {
    max-width: 150px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out;
}

.login-form {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: slideIn 1s ease-in-out;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 5px rgba(26, 115, 232, 0.5);
    outline: none;
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
}

.login-form button[type="submit"]:hover {
    background-color: #ff7043;
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Alert Ayarları */
.alert, .custom-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s, transform 0.5s;
}

.alert.show, .custom-alert.show {
    opacity: 1;
    transform: translateX(0);
}

.alert.fade-out, .custom-alert.fade-out {
    opacity: 0;
    transform: translateX(100%);
}

/* Task Form Ayarları */
.task-form {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    animation: slideIn 1s ease-in-out;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 5px rgba(26, 115, 232, 0.5);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #1a73e8;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #ff7043;
    transform: scale(1.05);
}

/* Dropzone Ayarları */
.dropzone {
    border: 2px dashed #1a73e8;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropzone:hover {
    background-color: #e3f2fd;
}

.preview {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.preview img {
    max-width: 100px;
    max-height: 100px;
    margin: 5px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.preview img:hover {
    transform: scale(1.1);
}

/* Ranking Ayarları */
.ranking-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ranking-box {
    flex: 1;
    margin: 0 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    animation: slideIn 1s ease-in-out;
}

.ranking-box h4 {
    text-align: center;
    color: #1a73e8;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.ranking-box h4:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background-color: #1a73e8;
}

.ranking-list {
    list-style: none;
    padding: 0;
}

.ranking-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #1a73e8;
    transition: background-color 0.3s;
    position: relative;
}

.ranking-list li:hover {
    background-color: #e3f2fd;
}

.ranking-list li i {
    color: #ffd700;
    margin-right: 10px;
}

.ranking-list li span {
    font-weight: bold;
}

.ranking-list li:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
}

.ranking-list li:last-child:after {
    display: none;
}

/* Marketing Box Ayarları */
.marketing-sections {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.marketing-box {
    flex: 1;
    margin: 0 10px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    animation: slideIn 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

.marketing-box h4 {
    font-size: 20px;
    color: #1a73e8;
    margin-bottom: 15px;
    position: relative;
}

.marketing-box h4:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: #1a73e8;
    border-radius: 10px;
}

.marketing-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.marketing-box img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.marketing-box img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.marketing-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

/* Product Backlog */
.backlog-section {
    padding: 20px;
}

.backlog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.backlog-item {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.backlog-item h3 {
    margin-top: 0;
    font-size: 22px;
    color: #1a73e8;
}

.backlog-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
}

.backlog-item p i {
    margin-right: 10px;
    color: #1a73e8;
}
.backlog-item-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.backlog-item-link:hover .backlog-item {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.task-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-summary p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.progress-bar {
    width: 100%;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 10px;
    background-color: #1a73e8;
    border-radius: 5px;
    width: 0;
    transition: width 1s ease-in-out;
}

.percent-complete {
    font-weight: bold;
    color: #1a73e8;
    margin-top: 10px;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .backlog-list {
        grid-template-columns: 1fr;
    }
    .container, .menu, .bottom-section {
        flex-direction: column;
    }
}

.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1000; /* Modal'ın her şeyin önünde görünmesini sağlar */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Arka planı koyulaştırır */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.view-task {
    cursor: pointer;
    font-size: 18px;
    margin-left: 10px;
    color: #1a73e8;
}

.view-task:hover {
    color: #ff7043;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50; /* Green for success */
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

.notification.error {
    background-color: #f44336; /* Red for error */
}

.notification.fade-out {
    opacity: 0;
}

/* Floating Button Ayarları */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1a73e8;
    color: #ffffff;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.floating-button i {
    font-size: 24px;
}

.floating-button:hover {
    background-color: #ff7043;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Modal ve Form Ayarları */
.modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Arka plan rengi */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #3367d6;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #555;
    transition: border-color 0.3s;
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.submit-btn {
    background-color: #3367d6;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.submit-btn i {
    font-size: 18px;
}

.submit-btn:hover {
    background-color: #1a73e8;
    transform: translateY(-2px);
}



/* notification.css */

.notification-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 1000;
    animation: fadeIn 0.5s ease-in-out;
}

.popup-content {
    text-align: center;
}

.popup-content h2 {
    margin: 0 0 10px;
}

.popup-content p {
    margin: 0 0 15px;
}

.popup-content button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
