@use "../../../styles/abstracts/variables" as *;

.project {
    overflow-x: hidden;
    width: 100%;
    background: #FFF;

    &__content{
        border: 1px solid $col-border-lining;
        border-radius: 15px;
        padding-bottom: 4rem;
        min-height: 100vh;

         /* HEADER SECTION */
        &--header {
            background: linear-gradient(rgba(78,70,195, 0.96), rgba(78,70,195, 0.96)), url("/assets/images/waves.svg");
            overflow: hidden;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            padding: 1.8rem 1.5rem;
            border-top-right-radius: 15px;
            border-top-left-radius: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;

            @media only screen and (max-width: 1000px){
                flex-direction: column;
                padding: 2.2rem 1.8rem;
            }

            &--left {
                display: flex;
                gap: 15px;
                @media only screen and (max-width: 1000px){
                    padding-bottom: 1.4rem;
                }

                &--icon {
                    span {
                        height: 2.3rem;
                        width: 2.3rem;
                        border-radius: 50px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        background: #F4F3FF;
                        color: #4E46C3;
                    }
                }

                &--text{
                    h1{
                        font-weight: 600;
                        font-size: 1.3rem;
                    }
                    p{
                        font-size: .92rem;
                        opacity: .9;
                        font-weight: 500;
                    }
                }
            }
            &--right {
                button{
                    background-color: #F4F3FF;
                    color: #4E46C3;
                    font-weight: 600;
                    border-radius: 6px;
                    padding: 0.5rem 1.25rem;
                    font-size: .85rem;
                    transition: all 0.2s ease;
                    cursor: pointer;
                    display: flex;
                    gap: 10px;
                    align-items: center;
                    box-shadow: 0 2px 8px rgba(78, 70, 195, 0.15);
                    font-size: .94rem;

                    &:hover {
                        background-color: #E8E6FF;
                        box-shadow: 0 4px 12px rgba(78, 70, 195, 0.25);
                    }
                }
            }
        }

        /* STATS SECTION */
        &--stats {
            margin: 0 2rem;
            color: $col-dark-text;
            background: #FFF;
            border: 1px solid $col-border-lining;
            padding: 1.5rem;
            border-radius: 6px;
            margin-bottom: 2rem;
            h1{
                font-weight: 600;
                font-size: 1.1rem;
                color: $col-dark-text;
            }
            p{
                padding-bottom: 1rem;
                color: #627081;
                font-weight: 500;
                font-size: .92rem;
            }
            &--cards {
                // display: flex;
                // overflow-x: auto;
                // flex-wrap: nowrap;
                // gap: 20px;
                margin-bottom: .5rem;
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                grid-gap: 20px;
            }
        }

        /* TAB SECTION */
        &__tab{
            margin: 0 1.5rem;
            // background-color: #ffffff;
            // border: 1px solid $col-border-lining;
            background: $col-active-btn-bg;
            border-bottom: 1px solid $col-border-lining;
            box-shadow: 0 0 6px rgba(0, 0, 0, 0.06);
            margin-top: 1rem;
            display: flex;
            border: 10px;
            gap: 20px;
            padding: .5rem .7rem;
            align-items: center;
            border-radius: 6px;
            margin-bottom: 2rem;

            &--active {
                background: #4E46C3;
                padding: .5rem 1rem;
                border-radius: 6px;
                cursor: pointer;
                font-size: .9rem;
                font-weight: 500;
            }

            &--item {
                color: $col-purple;
                font-weight: 600;
                font-size: .9rem;
                cursor: pointer;
            }
        }

        /* DETAILS SECTION */
        &__details {
            margin: 0 1.5rem;
            border: 1px solid $col-border-lining;
            padding: 1.5rem;
            border-radius: 6px;
        }
    }
}




.alert-success {
  background-color: #e7f9ee;
  color: #15803d;
  border: 1px solid #a7f3d0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 500;
}