@charset "utf-8";
/* CSS Document */

.account-header {
		position: relative;
		width: 500px;
		height: auto;
		float: left;
		margin: 40px 40px 20px 40px;
		padding: 30px;
		background: white;
		border-radius: 15px;
		box-shadow: 0 10px 30px rgba(0,0,0,0.1);
		text-align: center;
	}

        .profile-section {
			position: relative;
			width: 100%;
			height: auto;
			float: left;
            align-items: center;
            justify-content: center;
            /*gap: 30px;*/
            margin-bottom: 30px;
        }

        .profile-image-container {
            position: relative;
            width: 60px;
			height: auto;
			float: left;
			margin: 0px 220px 25px 220px;
        }

        .profile-image {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 4px solid #ce142a;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.3s ease;
            /* הבטחה שהתמונה תהיה עגולה באמת */
            aspect-ratio: 1;
        }

        .profile-image:hover {
            transform: scale(1.05);
        }

        .image-upload-overlay {
            position: absolute;
            bottom: -5px;
            right: -15px;
            background: #ce142a;
            color: white;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s ease;
        }

        .image-upload-overlay:hover {
            background: #5a67d8;
        }

        .profile-info {
 			position: relative;
			width: 100%;
			height: auto;
			float: left;
           flex: 1;
            text-align: center;
        }

        .user-name {
 			position: relative;
			width: 100%;
			height: auto;
			float: left;
           font-size: 28px;
            font-weight: bold;
            color: #000;
            margin-bottom: 10px;
        }

        .user-email {
			position: relative;
			width: 100%;
			height: auto;
			float: left;
            color: #000;
            font-size: 22px;
            margin-bottom: 20px;
        }

        .edit-name-container {
 			position: relative;
			width: 100%;
			height: auto;
			float: left;
           display: none;
            gap: 10px;
            align-items: center;
        }

        .edit-name-input {
 			position: relative;
			width: 100%;
			height: auto;
			float: left;
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 22px;
            direction: rtl;
            text-align: right;
        }

        .btn_small {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: #ce142a;
            color: white;
        }

        .btn-primary:hover {
            background: #5a67d8;
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: #f7fafc;
            color: #4a5568;
            border: 1px solid #e2e8f0;
        }

        .btn-secondary:hover {
            background: #edf2f7;
        }

        .btn-success {
            background: #48bb78;
            color: white;
        }

        .btn-success:hover {
            background: #38a169;
        }

        .btn-cancel {
            background: #e53e3e;
            color: white;
        }

        .btn-cancel:hover {
            background: #c53030;
        }

        .purchases-section {
			position: relative;
			width: 500px;
			height: auto;
			float: left;
			margin: 40px 40px 180px 40px;
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .section-title {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }

        .purchases-list {
            display: grid;
            gap: 15px;
        }

        .purchase-item {
            background: #f8f9ff;
            border: 1px solid #e6e8ff;
            border-radius: 10px;
            padding: 20px;
            transition: all 0.3s ease;
        }

        .purchase-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .purchase-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .purchase-title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
        }

        .purchase-status {
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 20px;
            font-weight: bold;
        }

        .status-active {
            background: #c6f6d5;
            color: #22543d;
        }

        .purchase-details {
            color: #666;
            font-size: 24px;
            line-height: 1.5;
        }

        .bundle-categories {
            background: #f0f2ff;
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
        }

        .bundle-categories h4 {
            color: #333;
            margin-bottom: 10px;
            font-size: 22px;
        }

        .categories-list {
  			position: relative;
			width: 100%;
			height: auto;
			float: left;
           	display: flex;
            flex-wrap: wrap;
			text-align: center;
            gap: 8px;
			margin: 5px auto 15px auto;
        }

        .category-tag {
            background: #ce142a;
            color: white;
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 22px;
            font-weight: bold;
        }

        .purchase-actions {
            margin-top: 15px;
            text-align: left;
        }

        .btn-danger {
            background: #e53e3e;
            color: white;
            font-size: 24px;
            padding: 8px 16px;
        }

        .btn-danger:hover {
            background: #c53030;
        }

        .no-purchases {
            text-align: center;
            color: #666;
            font-size: 24px;
            padding: 40px;
        }

        .hidden {
            display: none !important;
        }

        .back-button {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(255,255,255,0.9);
            color: #ce142a;
            border: none;
            border-radius: 50px;
            padding: 15px 20px;
            cursor: pointer;
            font-size: 24px;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .back-button:hover {
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* עיצוב לקובץ העלאה */
        #imageUpload {
            display: none;
        }

        
